News for hackers. Stuff that matters.
Re:WebAssembly becomes a W3C Recommendation by LessDmesg on Monday December 16, 2019 @12:30PM (#21804905)
What would you prefer then, Lua, with its 1-based arrays? Python is a mature, universal, versatile, insanely popular dynamic language with a nice syntax. It fits the bill perfectly.
Re:WebAssembly becomes a W3C Recommendation by saagarjha on Monday December 16, 2019 @01:54PM (#21805860)
Lua’s a great language; hating on it for 1-based indexing (it doesn’t have arrays) is somewhat petty.
Re:WebAssembly becomes a W3C Recommendation by BubRoss on Monday December 16, 2019 @12:43PM (#21805056)
If indexing arrays starting at 1 is a big problem, either the language is fantastic or you aren't challenging yourself. Programming gets a lot harder than that.
Re:WebAssembly becomes a W3C Recommendation by root_axis on Monday December 16, 2019 @01:20PM (#21805493)
Something with a static/strong type system.
Re:WebAssembly becomes a W3C Recommendation by fastball on Monday December 16, 2019 @01:32PM (#21805613)
Python has static type checking now, and has always been strongly typed.
Re:WebAssembly becomes a W3C Recommendation by LessDmesg on Monday December 16, 2019 @02:55PM (#21806523)
I'd like that too, but it's not going to work with the web dev populace. They're used to a dynamically-typed sandbox and won't switch to a full statically typed language.
Re:WebAssembly becomes a W3C Recommendation by fastball on Monday December 16, 2019 @04:52PM (#21807678)
What about TypeScript?