|Syntactic Confectionery Delight|
Re: Re: Re: Re: There's a level in Hell reserved for ________by Anonymous Monk
|on Mar 03, 2003 at 13:49 UTC||Need Help??|
mostly because I'm not fond of the idea that the amount of indentation of a line defining semantics rather than just reflecting them
In principle, I'm not fond of it either. However, it has not once inconvenienced me in the slightest. Maybe it's just force of habit that keeps us tied to certain languages. So I'd say try it out, if it does get in your way there are many other obvious alternatives ;-). Also, if anyone has examples of running into whitespace problems in python, I'd be very interested (I haven't been programming in it for that long either).
Sorry if I stepped on anyone's toes
Not at all, I meant the "5 points off" bit as a joke :). I know a fair number of python programmers and I'd label about 60% of them 'zealots.' Mind you, I'd probably label about the same number of Perl programmers 'zealots.' Don't even get me started on Java programmers... ;-)
Oh, and as far as having programmed in every language is concerned - I guess that's impossible
Yeah, that was a trick. I really work for NIMH. Anyone who claimed they did know every single programming language has been committed (regardless of whether or not they were telling the truth ;).
Anyhow, why do you think switch (or goto, for that matter) is a low-level language concept?
Mostly because I've found that using dispatch hashes eliminates the need for them. I'm sure there's still a couple good uses, but sometimes I wonder if when a feature is that abused it wouldn't be better just to eliminate it. Yes, it's catering to the lowest common denominator and It would probably annoy all those write-25000-lines-of-assembly-before-breakfast kind of programmers, but my sanity would greatly appreciate it :).
Speaking of breakfast, gotta run. Have a nice day :)