Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You know, when I first started programming and got attached to Python, I longed for significant whitespace in other languages, such as Javascript (which drove me to Coffeescript) and C (which just drove me nuts). I avoided languages like Java and C# because they had so much syntactic "noise"., because they were statically typed, and because they were clearly inferior languages.

And Lisp...well, I shuddered at the thought of learning Lisp because of all those parentheses.

Now, however, I don't give a damn about braces. I use Java if the job calls for it, and I've developed quite an appreciation for C#. I enjoy playing around with Lisp and recognize that it shares a lot of fundamental features with Python. I have a strong appreciation for C's power and control (but use it only under very certain circumstances and with great trepidation).

Python is still my go-to language because of its incredible ecosystem, but I no longer insist on using it for everything. I use the right tool for the job. I dropped Coffeescript in favor of pure Javascript, which I've come to appreciate as not a bad language, as long as you're aware of the traps.

For larger jobs, I usually seriously consider using a statically-typed language, because I know I'll either have to religiously write unit tests, or suffer a world of pain (and even then odd bugs will happen that otherwise would not have).

Point is, I suspect that very often, those people that insist on bringing the syntax from one language to another are either early in their career, or they're focused on the wrong thing. If the presence or absence of braces is the feature of a language that bothers you most, then you want want to reevaluate your priorities.

(that said, if this project was just a fun way to explore Python's internals and lexers/parsers, please carry on!).



Why shouldn't the syntax matter? If a syntax results in more mental overhead, it seems sensible to avoid it if possible. What seems up for debate is what actually results in more mental overhead, and what just takes some getting used to.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: