News for hackers. Stuff that matters.
Re:Are dynamic languages going to replace static languages? ... by neolog on Wednesday August 04, 2021 @01:43AM (#28057607)
Wrong? The most popular languages are Javascript and Python...
Re:Are dynamic languages going to replace static languages? ... by sarnowski on Wednesday August 04, 2021 @01:52AM (#28057642)
By which metric? TIOBE paints a different picture where also Python and JS are high but not exclusively.

https://www.tiobe.com/tiobe-index/

Re:Are dynamic languages going to replace static languages? ... by TJSomething on Wednesday August 04, 2021 @02:17AM (#28057789)
As TIOBE uses averaged, relative search engine hits for "[programming language name] programming" as its source, it's a significantly lagging indicator, since it counts all pages on the internet equally, regardless of their age. I'm also unsure of the precision of the search "C programming". I suspect that it's catching "C++" in some search engines.

Stack Overflow's annual survey puts JavaScript, SQL, and Python at the top, with C at 12th [0]. RedMonk's Top 20 puts JavaScript, Python, and Java at the top, with C in 10th [1]. ITJobsWatch puts JavaScript, SQL, and C# at top, with C at 9th [2]. Dice puts SQL, Java, and Python as its top 3, with C not even ranking in their top 12 [3]. All of those put JavaScript, Java, and Python in the top 5.

[0] https://insights.stackoverflow.com/survey/2021#most-popular-...

[1] https://redmonk.com/kfitzpatrick/2021/03/02/redmonk-top-20-l...

[2] https://www.itjobswatch.co.uk/default.aspx?ql=&ll=&id=900&p=...

[3] https://insights.dice.com/2021/01/05/top-12-programming-lang...

Re:Are dynamic languages going to replace static languages? ... by willbudd on Wednesday August 04, 2021 @01:55AM (#28057668)
But nobody (as far as I know) who has used TypeScript wants to go back to vanilla JavaScript. I find that fairly telling.
Re:Are dynamic languages going to replace static languages? ... by joelbluminator on Wednesday August 04, 2021 @02:43AM (#28057967)
Google "the problem with typescript", there are people who don't like it. I don't know how many they are but saying "no one" is silly.
Re:Are dynamic languages going to replace static languages? ... by richeyryan on Wednesday August 04, 2021 @06:41AM (#28059452)
I broadly prefer JavaScript to TypeScript. TypeScript has it's place and is certainly useful in some scenarios (it's union type is so powerful) but I don't think I'd ever plan on coding exclusively in it. I've written code in OCaml and Rust too so I know what a good type system can do.

I think at least for UI work there is a lot of space for dynamic plumbing together of well typed components. Components in this case meaning actual UI components as well as modules of business logic or state management.

Re:Are dynamic languages going to replace static languages? ... by jaredcwhite on Wednesday August 04, 2021 @02:47AM (#28057993)
You need to get out more. =)
Re:Are dynamic languages going to replace static languages? ... by pjmlp on Wednesday August 04, 2021 @04:41AM (#28058697)
I only use TypeScript on projects written from scratch for TypeScript, like Angular.

On personal projects I only want to deal with builtin browser technologies, there is no npm, webpack, tsc, yarn, whatever, just plain <script/> tags.

Re:Are dynamic languages going to replace static languages? ... by Lapsa on Wednesday August 04, 2021 @07:52AM (#28059893)
I have never wanted to go TypeScript in first place.