Hacker News new | ask | show | jobs
by justsomehnguy 52 days ago
>> Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.[0]

Between that quote and "You can't fix stupid" I always choose the one about circus.

*nix fanboys were totes fine with wget and ls being an aliases in PowerShell for years but when they found out what PS is coming to Linux they made a biggest stink. It didn't even mattered what 99.999% of the scripts which utilized that call were the simple 'get file' and nothing more.

[0] https://en.wikiquote.org/wiki/Rick_Cook#The_Wizardry_Compile...

2 comments

I think Powershell and .net coming to linux is very welcome because I can keep hosting stuff with what I believe is a saner platform, and Windows developers can still keep using the platform they prefer. It's a win-win.

IMO .net is much better than Java, at least it was 10 years ago. So it's not like I don't understand them.

C# better than Java the language, yes.

CLR is better on the polyglot approach, although Microsoft nowadays behaves as if C means C# and not Common, and ironically JVM seems to have a more vivid guest languages ecosystem nowadays. Any of Scala, Clojure, Kotlin, Groovy, seem to enjoy more activity than F#, VB or C++/CLI.

There are plus on the JVM side that Microsoft will probably never care for.

- A single vendor implementation, Microsoft no longer cares about ECMA

- Following from being a single vendor, there aren't multiple GC, JIT and AOT approaches to chose from

- Some of those implementations explore having most of the stack bootstraped instead of still being based on C and C++.

- One of them being a compiler development framework, whereas Microsoft killed theirs (Project Phoenix)

- Others offer real time GC, and embedded deployments in high critical computing environments, although less than 20 years ago, there are still three main vendors in this area

- A mobile OS, after Microsoft botched theirs when it was around 10% market share in Europe already, and now they don't have a platform for younger generations

Note that Java, .NET and C++ are my main toolbox tools, thus it isn't hating one over the other.

I just don't like the verbosity of Powershell myself... For that matter, I've trended towards using TypeScript (via Deno) for my user scripts that need more than basic shell interactions. I can reference any repository modules directly, use a shebang in the top of the script with self/executable, and no install step.

For that matter, deno in a shebang for an extensionless file now detects as a TypeScript file properly in VS Code. win-win-win. While being portable with a relatively small executable surface (deon executable only).

> I think Powershell and .net coming to linux is very welcome

It was!

I specifically talk here about a subset of people who was very ignorant but became very angry because... well, they are probably still write it as M$ so there is no point continue.

> *nix fanboys were totes fine with wget and ls being an aliases in PowerShell for years but when they found out what PS is coming to Linux they made a biggest stink

The curl and wget aliases don’t exist on the PowerShell 7 version which is the cross platform one. Only the old powershell.exe builtin to Windows has these aliases and it’s worse today because curl.exe is builtin and the curl alias takes priority when you run just curl.

Thanks, I'm with PS since v1.0.

> Only the old powershell.exe builtin to Windows

It's "Windows PowerShell" which would be forever v5.1 and "PowerShell" is v7+.

(we don't talk about "PowerShell Core")

> builtin and the curl alias takes priority when you run just curl

Yes, but again if somebody didn't bother to read the docs, read the output (it's very evident when you have some PS error vs. everything else - and people STILL don't bother to try to understand) and start bitching on the forums... see my previous comment.

And by the way: it was established quite early what the use of an aliases in the written code should be frowned upon, exactly for the reason what the aliases aren't stable and could be local. Aliases are the quick way when you are slapping something interactively in the CLI.

So wget/curl were added for the benefit of those *nix fanboys who needed something better than cmd.exe on Windows so they could start using PS faster and later adopt to a proper ways but instead of reading the docs they only rose the stink.