6 ms·
This needs freakin' Node.js. Yeah, that's an old sentiment. I used to echo the same thing, but it's worth coming to terms with the fact that node is a pretty g
by sillysaurus3 9y ago
This needs freakin' Node.js.
Yeah, that's an old sentiment. I used to echo the same thing, but it's worth coming to terms with the fact that node is a pretty good platform to build on.
- cies 9y agoCould not agree less. It's not totally bad, but for sure not good. I prefer: * compile to native binaries * many ways to do concurrency (instead of async all the way) * a serious language (not created-in-10-days JS) Node is really step back for me, coming from Ruby and the JVM.
- giantsloth 9y agoJavaScript looks nothing like the “created in 10 days” version to which you speak. I would highly suggest you take an uncomfirmation(?) biased look at the language as it is now. Asyncs simplicity is arguably a reason why it’s a good platform to build off of. I agree I would rather have a single binary, and node may not be the best platform for shells on this point.
- cies 9y ago> JavaScript looks nothing like the “created in 10 days” version to which you speak. It has improved, sure. But not only in the direction that makes me happy. But you cannot undo some bad design choices, without it becoming a different language. > I would highly suggest [...] I write JS at times. It hurts badly. Not everyone feels it. Maybe coming from PHP or Perl it does not even hurt that much. But after writing some Haskell and Elm lately, the pain got more intense. > Asyncs simplicity is arguably a reason why it’s a good platform to build off of. Not having choices is never a good thing in my book. And I do not think that JS does async particularly well. So much line noise when it comes to working with promises. No fan here.
- masukomi 9y agoi'm with you @cies JS has had some of its edges smoothed out but it's not a great language and its answer to parallelism and concurrency is crap IMNSHO. And i'm someone who came from perl way back in the day.
- yellowapple 9y ago"Maybe coming from PHP or Perl" I don't know about PHP (my experience with it is limited), but coming from Perl, Perl is a breath of fresh air in comparison. Then again, to me Haskell makes even the worst JAPH-style Perl one-liners look readable in comparison, so maybe I'm not the best judge of language design.
- mateuszf 9y ago> many ways to do concurrency (instead of async all the way) Though core.async makes async programming quite nice
- cies 9y ago> Though core.async makes async programming quite nice Sure you can paint your cage gold, and it will look nicer. But it remains a cage. I want to choose, especially when it comes to how I do my concurrency.
- ams6110 9y agoNode may be OK for some things but it's not standard. I don't want to use a shell that I won't find anywhere but my own workstation. I want to use a shell that I will find on 99% of any systems I have to manage or work on. Even Python doesn't meet that bar and it's been around a lot longer than Node.
- pwinnski 9y agoIt may be old, but it's good and true. There are zero things I want my shell to do which depend on as much tooling as Node provides. I want a compiled native binary with as few dependencies as possible for the shell I'm going to use in single-user mode with very few resources available.
- cies 9y agoHi five grandpa! Pepperidge farm remembers :)
- gungoman 9y ago>node is a pretty good platform to build on. Lol.
- cies 9y agoYeah. I have the feeling people like Node because they know JS, and Node gives them JS. That's it.
- gungoman 9y agoThey worship Node because it gives them an earning opportunity while not having to put in any real effort in learning and thinking in my opinion. If C# was made mandatory for example I imagine this lets kode trend would die pretty quickly.