News for hackers. Stuff that matters.
Re:Ask HN: Platform for senior devs to learn other programmi... by fifilura on Friday November 29, 2024 @10:17PM (#42279097)
These days my main problem when learning is coming to terms with the development environment.

Python, how do I install and work with venvs? What is poetry and why is it better?

Scala, what is sbt and how do I make it work in Intellij?

Things I have learned under way, but still more of a headache than the actual language, since most ideas there are recognizable. And problems in the dev env can make you get stuck for several hours.

Docker helps a bit as an abstraction, but not all the way to the development environment.

Re:Ask HN: Platform for senior devs to learn other programmi... by tomcam on Saturday November 30, 2024 @02:21AM (#42280135)
I couldn’t agree more. And once you have mastered or at least come to terms with the development environment, eventually you must learn how to deploy. That’s also a minefield.
Re:Ask HN: Platform for senior devs to learn other programmi... by 0x073 on Saturday November 30, 2024 @04:17AM (#42280534)
The worst is js development.

You need thousands of tools and there always exists 3 alternatives.

Js/ts as a language is the smallest problem.

Re:Ask HN: Platform for senior devs to learn other programmi... by wruza on Saturday November 30, 2024 @04:51AM (#42280657)
It’s a newcomer confusion vs old-timer habit. You’ll feel the same in C, python, etc if you never seen these. And vice versa in any direction.

Edit: But I absolutely agree that $subj platform should focus on that, not even on the language. A language can be learned in one evening on a “fiddle” site, no platform required.

Personally, when I become interested in another language, all I want is a page of common snippets or a cheatsheet to get the feel of syntax, and then how to make and deploy a non-toy project with all the usual libs and tools attached.

Re:Ask HN: Platform for senior devs to learn other programmi... by 0x073 on Saturday November 30, 2024 @07:54AM (#42281325)
I think the biggest problem is that js is way faster charging than almost every other language.

I was used to use vue, there was webpack now it's vite or nextjs, some tools are build on top of others like nextjs on webpack and vite on esbuild.

If you stop working 2 years in js your tools will completely change.

E.g. java has maven and more and more use graddle, but it's way slower change.

Re:Ask HN: Platform for senior devs to learn other programmi... by skydhash on Saturday November 30, 2024 @11:47AM (#42282499)
If you're doing tooling churn, that may be an issue. But in an organization, tooling updates are always slow.
Re:Ask HN: Platform for senior devs to learn other programmi... by fifilura on Saturday November 30, 2024 @04:59AM (#42280685)
A clever blogger or even entrepreneur sees the opportunities here.
Re:Ask HN: Platform for senior devs to learn other programmi... by wruza on Saturday November 30, 2024 @05:16AM (#42280751)
It’s a yet another facebook shaped opportunity though. The hardest part is not to collect and systematize information, but to become distinguishable from a mountain of shitty blogspam that google agrees to promote for financial reasons.

For meta, I’d say our issue here is not the lack of platforms or manuals, but that we simply don’t have a decent search engine, because we don’t have a decent internet economy model. Our models and tools are indecent and there’s no help.

Re:Ask HN: Platform for senior devs to learn other programmi... by fifilura on Saturday November 30, 2024 @05:58AM (#42280886)
What you describe is exactly the challenge and opportunity to overcome.

Why should I have to rely on Google/stack overflow/chatgpt to set up my environment?

Re:Ask HN: Platform for senior devs to learn other programmi... by dakiol on Saturday November 30, 2024 @08:27AM (#42281500)
I think the worst is Java/Kotlin. Gradle is a nightmare and I just refuse to spend my time learning it. I just can’t.
Re:Ask HN: Platform for senior devs to learn other programmi... by the__alchemist on Saturday November 30, 2024 @07:32PM (#42285154)
I started Android development recently at work.

I will confidently back you up. I am a well-rounded programmer, and have used many languages and domains. Kotlin (in the Android SDK at least) is the most complicated, messiest, least-pleasant I've found. JS/Node is second place.

I'm reasonably confident it's not the Kotlin language itself I dislike, so much as the tooling associated with it, and the expected project structure.

Re:Ask HN: Platform for senior devs to learn other programmi... by Cotterzz on Saturday November 30, 2024 @04:04PM (#42284021)
Yes, if you're using the popular stacks of tools, frameworks and proprietary embellishments like Typescript. If you're focused on vanilla JS development along with modern native browser tech like WebGL, WebGPU, WASM and Web Audio things are much more straightforward, the only tricky choices I guess are which 3D engine to use and what +1 language you want to take to the WASM party.
Re:Ask HN: Platform for senior devs to learn other programmi... by 0xmarcin on Saturday November 30, 2024 @09:40AM (#42281868)
Ad Scala - it depends if you already knew a JVM based language. If you are coming from Java you will have a head start: use Maven/Gradle instead of SBT, you will already know IJ, you will know your way around managing JVM versions and understand core concepts like jar files and class loading.

For me the most time intensive part of learning a new language is learning the new libraries. I don't mean here the standard library but rather things like library for interacting with SQL database, how mocking works in the new language, how concurrency works, web API framework.

Learning "just" a language can be done over the weekend. Learning to properly use its standard lib and the entire environment of libraries may take years.

Re:Ask HN: Platform for senior devs to learn other programmi... by skydhash on Saturday November 30, 2024 @11:42AM (#42282470)
The best way to learn a language is to build a project with it. Anything else is just exploring its feature. The trickier issues are always features integrations.
Re:Ask HN: Platform for senior devs to learn other programmi... by antonvs on Saturday November 30, 2024 @09:41AM (#42281874)
Ask a good LLM those questions. Saves a lot of time.
Re:Ask HN: Platform for senior devs to learn other programmi... by awongh on Saturday November 30, 2024 @03:15PM (#42283751)
Second this. For any reasonably popular language you can ask for the variation of dev env boilerplate you specifically need, and also ask questions about it and why it’s setup that way. Specifically what certain configurations do and why. Getting this info through an LLM is so much better than doing it by google search or reading docs.
Re:Ask HN: Platform for senior devs to learn other programmi... by rickette on Saturday November 30, 2024 @11:38AM (#42282445)
Go really got this right, just one 'go' tool for dependency management, build/compile, tests, you name it.
Re:Ask HN: Platform for senior devs to learn other programmi... by arunc on Saturday November 30, 2024 @12:23PM (#42282764)
Absolutely. Simple and fast language, simple and fast build system!
Re:Ask HN: Platform for senior devs to learn other programmi... by bhasi on Saturday November 30, 2024 @12:53PM (#42282950)
Rust too - cargo for everything.
Re:Ask HN: Platform for senior devs to learn other programmi... by bshacklett on Sunday December 01, 2024 @04:11PM (#42290758)
I’m not convinced given how many makefiles I see in Go projects.
Re:Ask HN: Platform for senior devs to learn other programmi... by jwsteigerwalt on Saturday November 30, 2024 @11:41AM (#42282464)
An experienced software engineer can learn new languages and syntax quickly. I would say the same for the core libraries for a given language. Learning the development environment, productionalization, deployment, and hosting can be daunting even for experienced architects.
Re:Ask HN: Platform for senior devs to learn other programmi... by narnarpapadaddy on Sunday December 01, 2024 @12:47AM (#42286490)
Seniors have a language-independent model of software development tasks such as writing code, testing, debugging, building and publishing artifacts, etc. to work from. They can map that model more or less to any software ecosystem. That model comes from hands-on experience building software, and often takes years to build.

While they are building up that conceptual model of software development, an engineer is also building up knowledge about the _details_ of their first or primary language’s ecosystem, libraries, and tooling. This also takes years, one just doesn’t notice it with the first language because it intuitively feels like “learning programming” since it happens in parallel.

The result is that a senior engineer can be productive quickly in any language, relying mostly on their conceptual model. But to go from “productive” to “mastery” with a new ecosystem is still all the same time and effort it took for the first one.

Re:Ask HN: Platform for senior devs to learn other programmi... by fifilura on Sunday December 01, 2024 @02:43AM (#42286915)
It is a good comment.

But I am an engineer, I build stuff. I am not sure I want to become Picasso

Re:Ask HN: Platform for senior devs to learn other programmi... by marxisttemp on Saturday November 30, 2024 @12:24PM (#42282770)
> how do I install and work with venvs

An unsolved problem in computer science

Re:Ask HN: Platform for senior devs to learn other programmi... by siva7 on Saturday November 30, 2024 @02:53PM (#42283603)
It's solved since Python 3.11
Re:Ask HN: Platform for senior devs to learn other programmi... by luffy-taro on Sunday December 01, 2024 @11:53PM (#42293225)
https://github.com/astral-sh/uv

Python tooling got better with uv.