Ask HN: What is your favourite programming language? Why?
1–10 of 60 posts
Re: Ask HN: What is your favourite programming language? Why?
#2Because they have beautiful simplicity in the first case and interesting outcomes in the second. I continue to struggle to achieve expressiveness in either. Maybe before I die.
But my real favourite is awk. Because it was the first language I used with a hash structure and so let me explore writing code which did content addressed things like count uniques over stdin string streams from logs. All kinds of languages had functions and procedures and fancy schmancy if then else but having dynamically sized data which indexed off data.. that was electrifying. Perl had them after and I suspect that in part accounted for it's popularity. Every scripting language since has too.
Re: Ask HN: What is your favourite programming language? Why?
#3So I've ended up back at VB after several years in other languages because it cuts out the cognitive load.
Re: Ask HN: What is your favourite programming language? Why?
#4I like the simplicity of the syntax. Arrays and objects are easy, closures are easy, and I like prototypal inheritance as a concept, although you're not supposed to actually use it in practice.
Lua is probably a close second, though. If I were to design a programming language, it would probably be somewhere between the two, with some C++ features tossed in for flavor (operator and function overloading, maybe generics.)
Re: Ask HN: What is your favourite programming language? Why?
#5Re: Ask HN: What is your favourite programming language? Why?
#6Let me earn myself a -4. I do my hobby code in VB .NET. VB6 was the first thing I learned, and whether I'm doing C++, C#, or PHP, whatever else I've ever used, I'm usually translating in my head what I want to do... from VB. So I've ended up back at VB after several years in other languages because it cuts out the cognitive load.
Re: Ask HN: What is your favourite programming language? Why?
#7I think there's some pattern recognition routine in my head that convinces itself we're reading prose, based on the ratio of words to symbols, so it feels comfortable for a amateur hobbyist like me.
I know "bias towards keywords" isn't a functional language feature, but I think it is a nice UX.
Of course, then I learned about generators and decorators in Python... Those are fun too.
Re: Ask HN: What is your favourite programming language? Why?
#8It's hard to find a problem that only has one Python library that solves it. Most of the time you have a dozen, and half of those are maintained better than I'd ever expect.
Re: Ask HN: What is your favourite programming language? Why?
#9I think I subconsciously fell in love with Python because of something a bit silly... the bias towards keywords over symbols. I think there's some pattern recognition routine in my head that convinces itself we're reading prose, based on the ratio of words to symbols, so it feels comfortable for a amateur hobbyist like me. I know "bias towards keywords" isn't a functional language feature, but I think it is a nice UX…
Generators are certainly "thinking in Python."
Re: Ask HN: What is your favourite programming language? Why?
#10Python - because I suck at programming and it's easy - also because I don't do it professionally it's more of a hobby for me