News for hackers. Stuff that matters.
Re:Why is it difficult for developers to learn another progr... by softfalcon on Wednesday March 09, 2022 @06:23PM (#30621314)
I am quite fluent in 5 programming languages. By this, I mean I've used them for years in a professional setting to ship real products. No dabbling, actual, deliberate time spent maintaining code in these languages over more than a decade of coding.

You get attached to the ecosystem around your code, not the code itself.

You don't actually like JS for JS sake. You like it cause of Node.js, React, Vue, Electron, etc.

You don't actually like C#. You like it cause of .NET, Entity Framework, Unity3D, etc.

You don't actually like C++. You like GNU, Qt, Boost, Unreal Engine, the WinAPI, ObjectiveC, Cocoa, etc.

These are just some examples.

If you're finding you dislike something, stop whining, stop comparing, and emulate. Do EVERYTHING the exact same way all your colleagues who like it do. You'll hate it. Wait 6 months, your brain will "get it" eventually and all the sudden now you like 2 things.

Ignore the distaste, the distaste is usually just your brain trying to force you back into your comfort zone. Comfort zones are too cozy, being always cozy will make you a bad programmer.

Re:Why is it difficult for developers to learn another progr... by epgui on Thursday March 10, 2022 @03:54AM (#30624742)
Counter example:

I love Clojure because of Clojure itself (s-expressions really grow on you), and not because of the JVM or java ecosystem.

Admittedly, it does help when there are good libraries.

Re:Why is it difficult for developers to learn another progr... by RangerScience on Wednesday March 09, 2022 @06:33PM (#30621404)
> who like it do

Snark/not-snark: what about those languages where the fans still don't like the tooking? (looking at you, pip)

Re:Why is it difficult for developers to learn another progr... by ColonelPhantom on Wednesday March 09, 2022 @07:31PM (#30621829)
Pip being good or bad aside, Python does have a very extensive ecosystem. It's very well equipped for many tasks, from machine learning (numpy/scipy/etc) to website creation (Django).

I don't really like Python, but I have to admit that those tools are very convenient.

Re:Why is it difficult for developers to learn another progr... by anothernewdude on Wednesday March 09, 2022 @07:19PM (#30621735)
What on earth is wrong with pip? I've used it in some of the most constrained environments possible, and it has been fine except for one small window where trusted-host wasn't possible.
Re:Why is it difficult for developers to learn another progr... by RangerScience on Wednesday March 09, 2022 @08:07PM (#30622063)
I think I remember there being a lot of hubbub over the pip/venv standard setup, which is (part of?) what prompted conda. I also seem to remember more than a few attempts to make a new Python dependency manager over the last 5-10 years.
Re:Why is it difficult for developers to learn another progr... by adgjlsfhk1 on Thursday March 10, 2022 @02:24AM (#30624066)
have you ever tried installing tensorflow with gpu support? to be more explicit, pip does a really bad job with versioning binary dependencies.
Re:Why is it difficult for developers to learn another progr... by MonaroVXR on Thursday March 10, 2022 @02:54AM (#30624313)
Why do people hate Javascript and Ruby and PHP?
Re:Why is it difficult for developers to learn another progr... by softfalcon on Sunday March 13, 2022 @03:54AM (#30658980)
I don’t.

JavaScript has been very useful for me building Node and Electron apps.

Ruby has been useful for me for building large dynamic CMS apps.

PHP largely got me into web development and is still used in Wordpress which I still maintain plugins for. Laravel seems cool too.

Everything has its merits and its environment where it shines. They’re also all imperfect, but that’s okay.

Re:Why is it difficult for developers to learn another progr... by chrisco255 on Thursday March 10, 2022 @04:25AM (#30624962)
They are interpreted and dynamically typed. Some programmers loathe dynamic types. JS and PHP also have quite a bit of quirky legacy code for which there are modern tools or conventions to bypass the quirks entirely (ie ES2015, prettier). However, a great number of programmers have PTSD from those early days and are weary to give them a second look.
Re:Why is it difficult for developers to learn another progr... by nonima on Thursday March 10, 2022 @03:51AM (#30624717)
They are popular programming languages.
Re:Why is it difficult for developers to learn another progr... by tonyedgecombe on Thursday March 10, 2022 @06:08AM (#30625615)
JavaScript is only popular because it was forced on us by being the only option in the browser. Without that it would be as significant as VBScript is now.
Re:Why is it difficult for developers to learn another progr... by hkt on Thursday March 10, 2022 @05:05AM (#30625178)
I can't speak for JavaScript or PHP, but I hated ruby's package management. Gem dependency hell was a blight that made jumping to Golang inevitable for me personally.
Re:Why is it difficult for developers to learn another progr... by MrPatan on Thursday March 10, 2022 @09:25AM (#30627215)
Because they are successful. Nobody hates Perl anymore