Dispassionate@quokk.au to Programmer Humor@programming.devEnglish · 6 days agoNew ‘Ambiguous’ Variable Type Promises to End Type Errors by Making All Types Equally Unreliabledisreport.comexternal-linkmessage-square52linkfedilinkarrow-up1302arrow-down14
arrow-up1298arrow-down1external-linkNew ‘Ambiguous’ Variable Type Promises to End Type Errors by Making All Types Equally Unreliabledisreport.comDispassionate@quokk.au to Programmer Humor@programming.devEnglish · 6 days agomessage-square52linkfedilink
minus-squareunalivejoy@piefed.sociallinkfedilinkEnglisharrow-up52·6 days ago JavaScript’s dangerously permissive any Excuse me? JavaScript doesn’t have any. They’re thinking of TypeScript’s any.
minus-squarecall_me_xale@lemmy.ziplinkfedilinkarrow-up43·6 days agoI mean, technically all JavaScript variables are typed any
minus-square0xDREADBEEF@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up14arrow-down1·5 days agoyou are forgetting the [object Object] type
minus-squareDangerNooble@lemmy.worldlinkfedilinkarrow-up13·5 days agoIf you’re ever feeling a little mischievous, that’s also great placeholder text to hide in language files
minus-squareDispassionate@quokk.auOPlinkfedilinkEnglisharrow-up3·4 days agoHave you heard of the new [objective Object] it’s an impartial
minus-squareunalivejoy@piefed.sociallinkfedilinkEnglisharrow-up3·5 days agoThey’re typed as any only when you use typescript.
Excuse me? JavaScript doesn’t have
any. They’re thinking of TypeScript’sany.I mean, technically all JavaScript variables are typed
anyyou are forgetting the
[object Object]typeIf you’re ever feeling a little mischievous, that’s also great placeholder text to hide in language files
Have you heard of the new
[objective Object]it’s an impartialThey’re typed as any only when you use typescript.