-
@superSGHP different ways of working, different projects have different needs. our last museum installation was js w/no linter or static checks. it worked eventually but taking ~10m to find out i made a typo in a function in the middle of the experience was... actually bad
-
@superSGHP tbh most of the issue is global scope, which is a bad habit js and friends picked up from the roaring 90s. eg why does this code compile at all? it will fail 100% of the time. buuut a global variable bax *might* have been introduced by the time foo is run, so it has to compile...
-
@superSGHP this is just bad language design. i dont gain anything by running foo. global variables are not a thing youre even supposed to do, but their existence makes this otherwise incorrect code impossible to filter out at compile time. so, best compromise in js is linter warnings...