News for hackers. Stuff that matters.
Re:Happy Birthday, Ruby by cutler on Thursday January 10, 2019 @02:37PM (#18877262)
Where is the evidence, outside Hacker News, for this increasing popularity of static typing? The fastest growing languages by most metrics are currently Javascript and Python, both of which are dynamically typed.
Re:Happy Birthday, Ruby by chc on Thursday January 10, 2019 @03:08PM (#18877562)
According to GitHub's 2018 stats, the two fastest-growing programming languages last year were Kotlin and TypeScript. GitHub explicitly pointed out that "type safety" appears to be one of the biggest factors influencing language popularity in 2018. And even Python, the fastest-rising dynamically typed language, has been adding new static typing features in every release for the past three years. The last new Python app I wrote was fully type-annotated and typechecked, and the new data classes feature actually requires type annotations.
Re:Happy Birthday, Ruby by TechFiend101 on Friday January 11, 2019 @01:54PM (#18885840)
python has mypy types and most places are switching to typescript over javascript. If you work with more than a handful of developers (and as such on a project large enough to require them) not having types DRASTICALLY decreases productivity.
Re:Happy Birthday, Ruby by cutler on Sunday January 13, 2019 @12:53PM (#18897749)
Do you have anything to back-up you claim about "most places"? Most of the job ads on Indeed.com/.co.uk for Python and Javascript make no mention of Typescript or mypy.