by spark3k · 6y ago · 0 comments
Anyway, node is a pretty mature platform now, if it dies, it'll die like java-the-language is dying. Very very slowly, and with parts of its platform holding out much longer than other parts. Or alternatively it'll evolve and slowly adopt things from other ecosystems.
I don't think we're at the stage where we can say that a bet on deno is definitely right, but it has a lot of interesting ideas and lots of people will be picking it up where they can.
If you're interested in the difference between node and deno, check out the talk '10 things I regret about Node' https://www.youtube.com/watch?time_continue=1&v=M3BM9TB-8yA&...
For a majority of enterprise type integrations, which I would argue are the majority of software projects, Java and C# are still the only viable choices. And I don't see that changing any time soon. Go and JS haven't really touched that space despite widespread use for webapps.
If you need a big enterprise MMORPG type system with tendrils reaching across the cosmos into your stagnant data ponds, creaky AS400, and React customer facing mirage, Java is the legendary weapon. It's your only choice, your destiny.
Nice
Maybe I'd pick when apple removed the default install from mac os, or maybe I'd pick when browsers made it impossible to run applets, or maybe I'd pick when the major java IDEs started pushing other languages like kotlin or xtend, or maybe I'd pick the oracle acquisition (never a good thing), or maybe I'd pick the release of go - a language squarely targetting pretty much the only niche that java has left (enterprise development of servers by mixed ability teams), maybe I'd pick the point when java development felt like it became more like configuring metadata for frameworks than actually coding, or maybe I'd pick when google started showing kotlin as the default language for developing on Android rather than Java.
Here's google trends for java: https://trends.google.com/trends/explore?date=all&geo=US&q=j...
Java-the-language is not going away any time soon, but if you expect it to do anything except decline, I think the future will be disappointing.
Then do you think the likes of SAP, Adobe, Amazon, Azure, Ricoh, Gemalto, PTC, Azul,.... are going to port their golden eggs to Go now?
1. Kotlin replaced Java for Android development
2. Scala has become the primary language for some of the major tools in the data stack - spark, kafka etc
I’m sure there are other examples as well
1. Politics due to how Google screwed Sun with Android Java
2. Scala is a tiny dot on JVM world and it remains to be seen how Scala 3.0 will be taken up, specially if Python like syntax is actually adopted
Java is dying so fast than nowadays even Microsoft contributes to OpenJDK, having bought jClarity in the process.
I jumped ship to .NET after Oracle changed their licencing. I don't like them as a vendor and don't want to be tied to them.
Java will still live to a pretty ripe old age but it does feel like it's a little over the hill nowadays.
If it's not growing explosively - it's dead.
Do I really need a "/s" here?
This is important, so I predict that over the next few years, as the 20-30 year olds of today gain more senior positions, they're going to choose python, JavaScript, kotlin, golang or rust for new projects.
The killer feature is that it offers nothing new or distinguishing. It looks like other JS elsewhere. It offers WebSockets via the same sort of WebSocket support you'd have in the browser. You read files via the FileReader api you'd use in the browser.
The killer feature is native developers who have an easy te embedding or writing add-ons for deno, not end of line developers.
This killer feature / mass adoption mindset is such an ugly poison. The size of a community is far down the list of considerations, a proxy only for easy consumability & fitting within current pop-culture sensibilities myths & current styles. Think different. Look for what really may matter.
I'm still happy that deno exists, experiment is good and if they ever find something that could make nodejs better, then it could be used to actually improve nodejs, which everyone will benefit from.
Yes! For example, you get fetch out of the box.
In my twitter feed the only ones talking about it are those who are asking themselves why it was so over-hyped
The adoption is basically nil.
I was just contesting the assertion of "switching in droves" by parent post. Find me a case of a nodejs community "switching in droves" to deno if you know some, or even a high impact project in nodejs currently switching to deno, if your intention is to assert that parent's assertion is correct.
My thoughts are that atm there is no reason to switch your project(s) to it and that, for the features Deno offers right now, it was indeed severely overhyped
They're pointing out that anecdotally, Deno seems to be a non-player right now. Which is pretty spot on: it's still very new, and hasn't found a critical application yet (e.g. would Node have taken off the way it did without Express? Probably not). So right now, it's an enthusiast's plaything, even if the architectural principles are much cleaner (wrt modern JS) than Node can ever become - without a rewrite so drastic it'll split the Node community like Perl 5/6 or Python 2/3, at least.
- Support for "browser" apis like fetch and ES modules.
- Security
- No NPM necessary, just import code like a browser would
- No political agenda is being pushed, they simply focus on the tech
The only thing I really miss from node is the cluster api.
I just don't see how that has anything to do with javascript development.
Yet the US, isn't alone in this. It never has been. For example, although the famous poem Whiteman Burden was about the American-Phillipine war, it was written by a British poet based on his view of British Imperialism. That legacy of colonialism lives on today throughout everywhere in the English speaking world.
As for the French, the less said about how they exploit the CFA zone countries, the better.
The Russians? Currently the leaders of European racism.
This isn't simply a topic isolated to a parochial country, far far away from the ideologically pure Old World. What occurs in the US was merely a Flashpoint.
Dependency management that's much more friendlier to forks. Very often I want to patch something small in a public NPM library and point my company's private project to the fork that contains that patch, not having to wait for the maintainer to accept the PR. Publishing a separate private or public version of this is still a chore.
Typescript support. The current "building" from Typescript to JS is something that mostly works, but still feels icky and sometimes breaks down. Setting up a great debug environment in Typescript/NodeJS codebase is still a pain, and mostly I don't even bother.
I see that none of those are "killer" or seem very important, but it's enough just to try it for some small project in the future. And then, who knows? May be it'll just turn out to be better in general.
However, if you've gotten more and more annoyed with Node's legacy method of requiring modules (because it predates modern modules) and legacy method of dealing with asynchronous code (because it predates promises and async/await), then you already know why Deno might -once it's matured a bit, because it's super early days still- be worth your time.
On a technical level, they're trying to fix a bunch of mistakes made in Node. And build it on Rust which will hopefully mean less vulnerabilities.
Kinda miffed they gave up on Typescript though
What do you mean by this?
https://docs.google.com/document/d/1_WvwHl7BXUPmoiSeD8G83JmS...
It will still support TS as a first-class language for users and projects.
The joke stopped aging well after ECMAScript updated the spec for String with a padStart function, among many other improvements to the String type.
Minimally:
* module management that isn't in the code.
* lock files that are not an afterthought.
That all being said, even if it were true, I get the user experience of deno with ts-node, and the package.json and lock file support is free.