News for hackers. Stuff that matters.
Re:Taichi Lang by nhgiang on Thursday March 09, 2023 @05:36PM (#35087813)
New language developers really overestimate most people's willingness to learn new languages
Re:Taichi Lang by cwp on Thursday March 09, 2023 @06:47PM (#35088532)
Yes. It's quite amazing really. Also, people really hate using more than one language. Web developers will twist themselves into incredible knots to avoid having to write HTML and CSS and Javascript in the same project.
Re:Taichi Lang by eyelidlessness on Thursday March 09, 2023 @07:16PM (#35088785)
For what it’s worth, while I’m perfectly comfortable with HTML and CSS, I prefer JSX + CSS-in-JS. This isn’t because it’s one language versus three. It’s because it promotes colocation of related code, and allows a high degree of composability that’s much harder to achieve otherwise. Colocation is great for understanding what a given thing does, and for identifying its dependencies. Composability is great for mapping a domain model to lower level concepts in a coherent way, and for encapsulating dependencies.

This is somewhat achievable with separate languages. But it ultimately takes a very similar shape with additional tooling/ceremony and diminished benefits particularly from colocation.

Re:Taichi Lang by rpmisms on Thursday March 09, 2023 @07:00PM (#35088628)
Nonsense, we do it all the time, we just do it under the guise of Javascript. We just turned HTML into JSX and put our CSS in template literals.
Re:Taichi Lang by cwp on Friday March 10, 2023 @10:09PM (#35104791)
Exactly.
Re:Taichi Lang by andrewflnr on Thursday March 09, 2023 @10:21PM (#35090010)
Not that amazing. People who build languages are people who like languages, and therefore have tried a lot of them and find learning new ones easy and rewarding.
Re:Taichi Lang by schemescape on Thursday March 09, 2023 @07:42PM (#35088999)
It’s not even the language that causes the most friction, it’s the runtime, libraries, package manager, build system, foreign function interfaces, and on and on…
Re:Taichi Lang by nixlim on Thursday March 09, 2023 @07:55PM (#35089101)
This, more than anything and it doesn't only apply to the "new" languages. I spent the last year picking up basic Common Lisp and Elixir just for the fun of it. As "languages" they are great, but their ecosystems made me realize how spoiled I am working in Java.
Re:Taichi Lang by cjohnson318 on Thursday March 09, 2023 @09:41PM (#35089787)
Hundred percent. You're not competing with Python, you're competing with Pip.
Re:Taichi Lang by jakobnissen on Friday March 10, 2023 @01:49AM (#35091233)
It wish that was the case. Then Pkg would have already won, seeing that it's so obviously superior in every possible way.
Re:Taichi Lang by maleldil on Friday March 10, 2023 @04:33AM (#35092374)
Pip is the wrong comparison; it should be with PyPI. The package ecosystem is Python's killer app.
Re:Taichi Lang by cjohnson318 on Friday March 10, 2023 @11:26AM (#35096534)
Ah, you're exactly right.
Re:Taichi Lang by randrus on Friday March 10, 2023 @08:07AM (#35093875)
It’s not the language, it’s the leverage. I came to python in the 90s because of the white space (I was young and impressionable) and stayed for the flexibility and wealth of packages and projects out there.
Re:Taichi Lang by xiaodai on Thursday March 09, 2023 @08:20PM (#35089273)
not overestimate. i think they know of the challenges and stickiness of python die hards.

but there's a better way, there's a better way.

like python used to be less popular than perl but look at where perl is now vs python. things do take time to change though