4 ms·
No, but there are languages that make it hard to write bad code. Go, Erlang, heck, even Python comes to mind.
by chewxy 13y ago
No, but there are languages that make it hard to write bad code. Go, Erlang, heck, even Python comes to mind.
- tel 13y agoI feel like making it hard to write code tend to correlate with making it hard to write bad code. This is a problem since many programmers do not like languages which make it hard for them to write code. I'm not sure whether it's the effect of "making it hard to write bad code" that makes it hard to write code or whether its "making it hard to write code" that makes you less likely to run into the effects of bad programmers.
- cuttle 13y agoSome people might consider Erlang a puzzle language, but Python and Go most definitely do not make it hard to write code.
- tel 13y agoI think one of the arguments for Ruby over Python is the whole Theres More Than One Right Way To Do It philosophy which does make things significantly easier to write down in Ruby, especially coming from scratch. This is much like Postel's principle---a computer should be receptive to many slightly malformed inputs because they will happen. That makes the computer more successful. The problem is that once you start accepting malformed inputs you can never be rid of them and thus you have a permanent tower of babble[1] problem. [1] intentional
- asdasf 13y agoThe bigger problem is that there are languages that make it hard to write good code. Javascript is one of them.
- collyw 13y agoI have had to re-wite some really shitty python. Two variable in the same function Index and index.
- dragonwriter 13y agoIts hard to write bad looking code in Python, but its quite easy to write bad code in Python.