3 ms·
You can do that in something like python in 2x less lines.
by ilyak 17y ago
You can do that in something like python in 2x less lines.
- fauigerzigerk 17y agoI can do it in LZW in 10 times fewer bytes than you can do it in Python :) I think comparing statically typed languages to dynamically typed languages takes more than counting. You also have to test and maintain the system. Others have to make sense of the code you write, etc. And now show me your 2x fewer lines of Python code :-)
- ilyak 17y agoI just meant that C# isn't that good and never will be as good for quick scripting. Only if you don't know anything else. But I've changed my mind. For math, he'd better take mathlab-octave.
- stingraycharles 17y agoI just meant that C# isn't that good and never will be as good for quick scripting. Only if you don't know anything else. Often, the best tool for the job is the language you feel most comfortable with.
- camccann 17y agoThe best tool for a job is almost always to select a language you are already comfortable with, which is exactly why it's beneficial to be conversant in multiple languages of different styles. If all you know how to use is a hammer it may be faster on a given task to nail everything together instead of learning other tools. But if you take the time to learn other techniques before you need them, it'll pay off in the long term.