cm0002@lemmy.world to Programmer Humor@programming.dev · 6 天前Which of these javascript expressions is false?lemmy.mlimagemessage-square81linkfedilinkarrow-up1506arrow-down111cross-posted to: [email protected]
arrow-up1495arrow-down1imageWhich of these javascript expressions is false?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 6 天前message-square81linkfedilinkcross-posted to: [email protected]
minus-squareVenator@lemmy.nzlinkfedilinkarrow-up7·5 天前Most people don’t use JS because they think it’s perfect… they use it because it’s the language that works on web browsers… or because thier coworkers made something in it… or because the library that does what they want uses it…
minus-squareCameronDev@programming.devlinkfedilinkarrow-up4·5 天前For such a terrible language, it really has staying power…
minus-squarebss03@infosec.publinkfedilinkEnglisharrow-up6·5 天前JS is the machine code of the web. Fewer and fewer people might write it directly, but it will live as long as the web platform does.
minus-squarebufalo1973@lemm.eelinkfedilinkarrow-up2·5 天前Until some browser can make pages with Python, maybe.
minus-squarebss03@infosec.publinkfedilinkEnglisharrow-up3·4 天前Only if that browser somehow becomes overwhelmingly popular in a market segment BEFORE it gets JS support.
minus-squareVenator@lemmy.nzlinkfedilinkarrow-up2·4 天前Could make a transpiler for python -> js, and serve python to the browser with a fallback to js if the python isn’t supported by the browser
Most people don’t use JS because they think it’s perfect… they use it because it’s the language that works on web browsers… or because thier coworkers made something in it… or because the library that does what they want uses it…
For such a terrible language, it really has staying power…
JS is the machine code of the web. Fewer and fewer people might write it directly, but it will live as long as the web platform does.
Until some browser can make pages with Python, maybe.
Only if that browser somehow becomes overwhelmingly popular in a market segment BEFORE it gets JS support.
Could make a transpiler for python -> js, and serve python to the browser with a fallback to js if the python isn’t supported by the browser