News for hackers. Stuff that matters.
Re:Ask HN: Am I the longest-serving programmer – 57 years an... by fastball on Sunday May 31, 2020 @05:42AM (#23368369)
Eh, the weak typing intrinsic in JS still makes Python win out between those two.
Re:Ask HN: Am I the longest-serving programmer – 57 years an... by tarsinge on Sunday May 31, 2020 @04:11PM (#23372300)
That really is use case dependent for me. In the context where I have made a thoughtful choice to use a dynamically typed language, I find strong typing seems to make things unnecessary clunky with not much gain, especially in webdev dealing with a lot of JSON and UI display. And if I’m in a situation where JS/dynamic language is not a good choice then I prefer a real statically typed language, not a middle-ground.
Re:Ask HN: Am I the longest-serving programmer – 57 years an... by fastball on Sunday May 31, 2020 @04:52PM (#23372626)
In what situations do you find weak typing useful? I've only ever had it introduce bugs and not make my life any easier. Meanwhile dynamic typing makes it a lot quicker to prototype things (vars that can be null or an int, for instance).
Re:Ask HN: Am I the longest-serving programmer – 57 years an... by wolco on Sunday May 31, 2020 @09:26AM (#23369444)
Python turns you into someone who cares how many invisible characters and of which type for each line you code. Weaking typing vs strong typing is the least of your concern
Re:Ask HN: Am I the longest-serving programmer – 57 years an... by MauranKilom on Sunday May 31, 2020 @09:59AM (#23369639)
You (should) do that in other languages too. I'm not a fan of the way Python does it, but 1. it's not like you decide tabs vs spaces anew on each line, and 2. this is simply not a practical issue, unlike weak vs strong typing.