5 ms·
Hey, someone found a golden hammer! Better throw out all those other tools, who needs 'em.
by Brockenstein 8y ago
Hey, someone found a golden hammer! Better throw out all those other tools, who needs 'em.
- sghiassy 8y agoLet’s rewrite the Linux kernel in Scala!!
- preordained 8y agoI know we're just having fun here...but if we really could standardize on one language (or mostly one language) the development benefits would be insane.
- lmm 8y agoProgramming is not carpentry. The best programming languages (IMO) are general-purpose, and the gains from being able to know a single language in depth and reuse the same tools and techniques across different domains outweigh those from using different languages in different domains.
- sghiassy 8y agoI agree with Imm Check out this boat car btw! (http://yachtpals.com/boat-car-9158 http://yachtpals.com/boat-car-9158) It’s a boat. And it’s a car. It’s amazing. People are so stupid that they’re still buying cars that can’t go in water. When will they learn?
- cpursley 8y agoI first read that as "bloat" car ;)
- AnimalMuppet 8y agoDepends. Yes, learn a general-purpose language, and learn it well. But also, learn some other things well enough to be able to use them. Use them when they make the job easier. For example, my main language is C++, and my second language is Java. But when the problem I have is picking snippets of text out of a text file, I reach for Perl, because Perl is far better at that than either C++ or Java. I don't want to "reuse the same [C++/Java] tools and techniques" in that domain - it's considerably more painful than using Perl to do it.
- lmm 8y ago> For example, my main language is C++, and my second language is Java. But when the problem I have is picking snippets of text out of a text file, I reach for Perl, because Perl is far better at that than either C++ or Java. I don't want to "reuse the same [C++/Java] tools and techniques" in that domain - it's considerably more painful than using Perl to do it. Not convinced. I used to work in a similar way (indeed I would've made a similar argument), using Java for a primary codebase and Python for lightweight scripting around it. But I found that it was possible to adopt a general-purpose language that did both of those well.
- ZirconiumX 8y ago>But also, learn some other things well enough to be able to use them. Use them when they make the job easier. I've found that even if I don't need to use a language after I've learned it, the skills and experiences I pick up while learning it improve my code as a programmer. I've learned how to write fast code in C; learned how to write flexible template code in C++; appreciated the "batteries included" standard libraries of Python; wrote concurrent code in Go; used sum types and functional programming in OCaml. My friend wrote an article[1] that says there is still no silver bullet for programming, and I agree with her. Perhaps even if you think it is better to master a single programming language, you might better master it by seeing how other languages approach the same problem. [1]: https://chameleon.kingdomofmysteries.xyz/articles/harmful/stillnosilver.html https://chameleon.kingdomofmysteries.xyz/articles/harmful/st...