From: Dave Brown Date: 07:25 on 30 Jan 2008 Subject: A note to Firefox Dear Firefox, Ctrl+Q means Quit Application. No, you're not so important that you get to be the only application in the world which doesn't have a Quit keyboard shortcut. No love, --Dave
From: dagbrown (Dave Brown) Date: 22:21 on 16 Sep 2003 Subject: Scripting languages again Class, can I have your attention? Hands up, everyone who knows how to find the length of a string in Perl. Yes, Jimmy? You're right, the answer is "length()". How about C++'s string class? You're right, Elizabeth, it is "length()"! Anyone want to venture how you get the length of a string in Ruby? Oh, hello, Simon! Yes, the answer is "the length() method!". Very good! Yes, thank you, Simon, I know that you can also use "size()". That's enough. THANK YOU. Alright. Can anyone in the class explain why Python chose to have "return the length of a string" be a standalone function called "len()" forcing the would-be Python programmer to reach for the manual? Nobody? Ah, young Guido, yes. "Because that would be too much like Perl, which is unreadable by definition." That's certainly an interesting theory you have there. I'll be sure to share it with the rest of the teachers after class. Feh. --Dave
Generated at 10:28 on 16 Apr 2008 by mariachi