Re:“I realized at some point that all programming languages ...
by tempodox on Wednesday July 01, 2015 @07:22AM
(#9811133)
Nope, even the mainstream languages aren't the same. If their differences didn't amount to more than lipstick-on-a-pig there would only be one mainstream language. (JS is on the way there, so if we wait long enough we might still witness this mythical event)
Re:“I realized at some point that all programming languages ...
by TazeTSchnitzel on Wednesday July 01, 2015 @07:29AM
(#9811155)
> Nope, even the mainstream languages aren't the same. If their differences didn't amount to more than lipstick-on-a-pig there would only be one mainstream language.
How so? There's a lot of choice, but quite little diversity. There are more languages than there are big differences between them. You could combine Python, PHP, JavaScript, Lua, and Ruby, then C++ and C, then C# and Java. There'd only be 3 mainstream programming languages left, but you'd have lost almost no diversity.
Even with the differences between them, an algorithm implemented in any of them will look nearly identical.
Now, are all programming languages the same? Most definitely not. Lisps exist, functional languages exist, heck, BASIC exists, to name some other language families. But all mainstream languages are virtually the same.