July 2017
— Language:
Js
console.log(123 == '123'); // still reasonableconsole.log(123 == '123 im a tree'); // should only return true in hell :)
truefalse
Message permanent page
Type safety is comprised of a pre-eval post-lexical analysis step to ensure all types are consistent and no collisions occur
— See result of {} + []
— Obj + array in js
— Looool
— 0
— Yes, we've all seen the wat talk
— Yeah
— "strict typing" variables can simulate some degree of type safety if applied correctly but it is then nothing more than an eval-time error
— I love js
— PHP is still way way worse
— But it has inconsistancies