News for hackers. Stuff that matters.
Re:From zero to 10M lines of Kotlin by bottled_poe on Tuesday October 25, 2022 @10:36AM (#33331017)
The era of strong vs weak typing debate has passed. Adopt strong typing, like a professional, or fade into the 90s web. Harsh but fair.
Re:From zero to 10M lines of Kotlin by dalyons on Tuesday October 25, 2022 @10:58AM (#33331409)
practically all modern strongly typed languages are adopting or already had type inference from day one, allowing you to do things like var. They give up nothing in terms of strong typing to do so. Forcing people to write manual boilerplate does not equal professional, what a strange take.
Re:From zero to 10M lines of Kotlin by bottled_poe on Tuesday October 25, 2022 @11:03AM (#33331506)
The engineering trade-offs are paid somewhere, better in an objective space than a subjective one.
Re:From zero to 10M lines of Kotlin by dalyons on Tuesday October 25, 2022 @11:45AM (#33332144)
i dont know what you mean by this?

Fundamentally, this is a story of technology getting better (type inference in compilers) so humans can do less work. We're not pushing the work to some other human place. We're not losing anything in safety, and we're gaining in readability, boilerplate and expressiveness. Its progress!

Re:From zero to 10M lines of Kotlin by 3836293648 on Tuesday October 25, 2022 @11:32AM (#33331971)
Noone is arguing for weak typing. They're arguing for type inference. They're not even slightly the same thing
Re:From zero to 10M lines of Kotlin by jeremyjh on Tuesday October 25, 2022 @11:50AM (#33332228)
The era of not knowing the difference between static typing, strong typing, and type inference is past. I'm the sort of professional who likes to learn computer science.