Ask HN: Node vs. .NET Core (2024 edition)
31–40 of 53 posts
Re: Ask HN: Node vs. .NET Core (2024 edition)
#32.net core is pretty cool. they even adopted a similar api to express if I remember well. Yeah it's fast too. faster than node. typed etc. but C# is a complicated language. and it keeps adding features. the have awesome tooling in .net world etc. but you know why javascript / node.js shines. JS is a simple language. of course lisps are simple i.e clojure. but only one other language comes close to the simplicity of ja…
Otherwise, JS is an immediate productivity loss as you cannot trivially refactor the code, a lot of features exist to mimic strong typing (or you just use TypeScript instead), it cannot be directly compared. You use JS when it makes sense, when you have to. Pure back-end is not that situation.
Re: Ask HN: Node vs. .NET Core (2024 edition)
#33When I was starting a new project a couple of years back, I went with .NET 6 and never looked back. The Core branch (and subsequent versions) fixed a lot of the issues I had with the original .NET Framework. Happily developing with VSCode on a Mac and deploying to ARM-based Linux instances in AWS. To the original question, the only right answer is you should pick what you know unless there is some overriding reason (e.g. performance). When building a backend API, I'd personally pick C# over JS all day.
Re: Ask HN: Node vs. .NET Core (2024 edition)
#34I know you're not asking about the personality behind the skills, but I'd sooner take a JS dev than a .NET one (even (and maybe especially) that Core runs on Linux), I'd even switch the entire stack to avoid having to deal with Windows talent. The ClickOps mentality in Microsoft-based ecosystems is astounding.
Re: Ask HN: Node vs. .NET Core (2024 edition)
#35It's amazing how uninformed the comments are on the .NET ecosystem as of the time of this comment. The OP states this is intended as an update to a 2016 question, but the responses are largely stuck pre-2016, full of nonsense complaints that haven't been true for the better part of a decade (including imagined OS dependent lock-in, imagined lack of CLI based tools, and etc). The .NET Core variant doesn't even exist a…
> with no "Core" variant specifier existing anymore That's a good point and sorry for the mistake. In my defense I copied and pasted the title from the previous question and I don't know much about .NET in general.
You were asking the original question. It's reasonable to ask a question and not know the answer. We can, however, expect better of those who write in with answers.
Re: Ask HN: Node vs. .NET Core (2024 edition)
#36Earlier quoted context omitted.
> but it’s also expensive and usually requires windows Can you please clarify what exactly is expensive and requires windows as far as .net is concerned? Compared to 2016 the development and hosting experience for at least Linux (can't speak to Macs) has gone forward by a country mile. You can develop practically for free (no need to visual studio license since vs code exists) and target Linux environments during bui…
Yes, you can use vscode and rider. Rider isn’t free for companies and vscode has some free stuff, but Microsoft came out with a new extension for c# that requires a visual studio subscription. To me, this signals they will be directing the majority of their investment into this, rather than a free extension. The experience isn’t as good in vscode (I haven’t used rider, but it costs money anyway, so still expensive) a…
Re: Ask HN: Node vs. .NET Core (2024 edition)
#37Earlier quoted context omitted.
I think he's referring to all of the clicking required on Windows. For example, on Linux, I can create a project folder, files, etc. and open the project all from the terminal. On windows, I have to click into the file explorer, find the project folder, double click it to open it within the browser. So much clicking. I admit, it's probably a skill issue. I've been using Linux distros for the last ~10 years, and am no…
Precisely. The abstraction of knowledge is a cultural staple of that ecosystem. It's great and all, but you end up with developers who have no understanding of what is happening when they click "next next next next yes finish". On Linux, that understanding is a core pillar of the culture. Stark contrasts.
Re: Ask HN: Node vs. .NET Core (2024 edition)
#38Earlier quoted context omitted.
I think he's referring to all of the clicking required on Windows. For example, on Linux, I can create a project folder, files, etc. and open the project all from the terminal. On windows, I have to click into the file explorer, find the project folder, double click it to open it within the browser. So much clicking. I admit, it's probably a skill issue. I've been using Linux distros for the last ~10 years, and am no…
Precisely. The abstraction of knowledge is a cultural staple of that ecosystem. It's great and all, but you end up with developers who have no understanding of what is happening when they click "next next next next yes finish". On Linux, that understanding is a core pillar of the culture. Stark contrasts.
Re: Ask HN: Node vs. .NET Core (2024 edition)
#39Re: Ask HN: Node vs. .NET Core (2024 edition)
#40Unless you use server-side rendering or JS-only dependency, in which case you do need Node.js, its usage cannot be justified as it is a massive downgrade in every way vs .NET (ASP.NET Core + EF Core/Dapper combo). Examples of major considerations are security vulnerabilities and dependency hell (both solved long ago in .NET), performance and memory footprint (the average expected difference in application code perfor…