Singpolyma

singpolyma tweeted, “@wolever switch statements. Also, namespaces based on filenames? Crazy http://sngpl.ma/t45r0@ 2010-141 02:03 UTC

4 Responses

wolever

@singpolyma k, yea. I do miss switch statements. Although, a match statement would be even better…

wolever

@singpolyma and… Well, I’d never thought about namespaces based on filenames. How do other languages do it?

dj3vande

@singpolyma Bah, I’m building a language without if, you can do without switch. When I took CS130 they told us OO obsoleted switch anyways.

wolever

@dj3vande yea, even in ActionScript/JavaScript, I find I rarely use switch (and then, half the time, I’ll turn it into an if/else later)

Leave a Response