Re: switch statement

new topic     » goto parent     » topic index » view thread      » older message » newer message
euphoric said...

Same with switch with fallthru. If we're going to have it, the positives have to outweigh the negatives. You say one of the positives is "many other languages use it that way," but consensus (or an appeal to numbers) is ultimately irrelevant when it comes to computer science. It is also easily countered with, "most instances of switch usage will use break, so break should be the default."

The fact that many other languages have it is certainly a plus. There are many obscure languages that have some very nice features that are amazing when you learn to use them, but do they ever make it? No. Why? Because people don't want to learn something new, for the most part.

You can do all you want to make the perfect language. If it is too different or it doesn't have feature XYZ that 50 other languages have, you will fail.

The idea that other languages have it in masses is certainly a very valid reason. I don't want to be the only one using Euphoria. Nor do I want to be just a small group of people who are using Euphoria. I want Euphoria to appeal to the masses, how do you do that? You implement what the masses want and what the masses know.

Jeremy

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu