News for hackers. Stuff that matters.
Re:Polyglot programming and the benefits of mastering severa... by Scarbutt on Thursday October 21, 2021 @11:37AM (#28946033)
since languages seem so easy to pickup.

What takes time is being productive with the APIs and ecosystem, not learning the language.

Re:Polyglot programming and the benefits of mastering severa... by Qem on Saturday October 23, 2021 @05:55PM (#28972726)
I agree. For example, while easy to learn, Python is pretty hard to truly master, due to the huge library. I guess going the polyglot route depends on how much time you can spend programming. If it's a full time job, it pays. If you can devote at most 1-2 hours a day, like me, it's probably better to focus in one or two at most, otherwise you will never grok any of them.
Re:Polyglot programming and the benefits of mastering severa... by fouric on Thursday October 21, 2021 @01:57PM (#28948401)
Or learning the underlying programming paradigm.

Even if Haskell used a Python-like syntax, I bet people would still find it 90% as hard to learn as they do now, due to the killer combination of lazy evaluation and purely-functional design.

Re:Polyglot programming and the benefits of mastering severa... by JoelMcCracken on Thursday October 21, 2021 @02:18PM (#28948734)
Yep. People often point at syntax and say "yuk!" but the problem is really not groking semantics. Syntax is just easy to bikeshed.
Re:Polyglot programming and the benefits of mastering severa... by fouric on Thursday October 21, 2021 @02:56PM (#28949304)
Thank you for clarifying my point, and attaching precise terminology to it!

Come to think of it, that's probably why people mistakenly think that Lisps are so hard. The syntax is scary, and easy to bikeshed - even though most of their semantics (for CL and Scheme, at least) are really easy, and very similar to Python.

Re:Polyglot programming and the benefits of mastering severa... by travisgriggs on Thursday October 21, 2021 @11:46AM (#28946191)
+1000