Re:A History of Lua (2001)
by lobstrosity420 on Wednesday August 10, 2022 @06:31AM
(#32409884)
Types are more like that annoying chime that beeps when you have the door open.
[ Parent
| on HN ]
I think this is only true for a language like Python, or TypeScript, where types are second class citizens…
For me, using types in Swift is sort of like “NOS” in that it’s helped me go faster (and further”!
Re:A History of Lua (2001)
by scaredginger on Wednesday August 10, 2022 @07:04AM
(#32410092)
I still find typing in Python and TypeScript hugely beneficial, even just for how it makes my editor work better. Being able to click to a definition does wonders for reading unfamiliar code
definition
In python, go and C maybe, but in typescript? People tend to kungfu-type their APIs way too much where healthy repetition would suffice.
I believe ts typing power will eventually become “considered harmful”. I also think that ts should have a way to intertwine types as it does now, but leave that to technical part of dts and give a way to declare that by <that gibberish> you meant <this clear interface>.