?

Log in

No account? Create an account
entries friends calendar profile adric.net Previous Previous Next Next
Examine your assumptions - nil.enroll(aetheric_username, quantum_class_id)
yljatlhQo'! QIch lo'laltbebej!
adric
adric
Examine your assumptions
When the computer seem to be cheerfully giving you completely illogical or impossible results, even when you inquire in various roundabout ways, double check your code, paste in someone else's code ... it's a good time to examine your assumptions.

In this particular case it now seems quite obvious that these two things:

thing is a NilClass

thing is a OSX::NSCFDictionary

are not the same thing at all, and not even the same kind of thing. Obvious now and silly, but not quite so much so three levels down when I was trying to puzzle out why I could not get the fields of a hash and kept getting empty strings and harsh language about no such method for nilClass and other rubbish.

Now that I realize that I was asking the same question and getting different answers because different things are answering, I have cleared the mental block and might actually be able to finish implementing this bit of the exercise.

First though, I had a slice of yummy key lime pie. And now back into Cocoa.

Tags:
Current Music: Britcoms on PBS

Leave a comment