logoalt Hacker News

reuventoday at 11:22 AM3 repliesview on HN

Interesting -- I still think that Python is an easier onramp than TypeScript for new developers. But given the popularity and depth of JavaScript, and the clear advantages (and popularity) of TypeScript in serious development, that's not a bad prediction.


Replies

jhbadgertoday at 11:33 AM

One thing that Python has that virtually no (well okay groovy and nim do too) other programming language has is whitespace for blocks rather than visible braces (or even BEGIN/END ala Wirthian languages). That's something much like line numbers in classic BASIC that introduces a roadblock when learners move on from it.

show 1 reply
TheOtherHobbestoday at 11:55 AM

js is a web scripting language that can be strong-armed into running scripts through a runtime.

Python is a general development language that can be used to build servers and web pages, but does a lot more besides.

They're not really comparable.

Having said that - I wouldn't be surprised if Python drifts towards stronger typing, although it will probably remain optional.

show 3 replies
noon-raccoontoday at 12:33 PM

Frankly, I prefer Python because I find it more elegant. However, in my industry bubble, I see a clear drift toward TypeScript.