4 ms·
Hi jsprogrammer. You read my comment way too literally. I did not mean that a new language should have a feature that can literally not be done anywhere else.
by kzhahou 11y ago
Hi jsprogrammer.
You read my comment way too literally. I did not mean that a new language should have a feature that can literally not be done anywhere else. I meant: what are the uncommon features? What sets this language apart from the (dominant) other langs?
As someone else pointed out, in golang this would be goroutines or channels or golang's approach to composition vs inheritance. You can certainly implement those in another language, but they're not first-class features in most other langs. Put together, those elements give golang it's characteristic flavor.
For this new lang, I'm interested in learning (as early in the docs as possible) what sets it apart from C, C++, golang, python, ruby, JS, haskell, erlang, D, etc. The hello world example teaches the reader something, but it's not the thing a person first landing on that page probably cares about.
And going back to my original statement, there's lots of things that are still missing from programming langs and associated ecosystems. Just look at JS, and how even today people are still furiously trying to extend it and work around it just to build simple reactive websites.
- jsprogrammer 11y agokzhahou, sorry for reading you way to literally. I actually only have the words that you post :) I think the important thing is to find the new things, but to realize that they aren't really new, just different ways of using the old. All of the languages you listed are really just specialized, assembly, or other, programs. Yes, most of the hard work has been automated away, but it's still there. I like JS because it can be extended (though it can be very difficult to keep track of). I think there was a workaround phase when the VMs/interpreters/machines were slower, but pretty much everything can be compiled to JS these days. You don't even need to do that though, as JS embeds first class functions, so pretty much anything is within easy reach.