Dispassionate@quokk.au to Programmer Humor@programming.devEnglish · 1 day agoNew ‘Ambiguous’ Variable Type Promises to End Type Errors by Making All Types Equally Unreliabledisreport.comexternal-linkmessage-square50fedilinkarrow-up137
arrow-up137external-linkNew ‘Ambiguous’ Variable Type Promises to End Type Errors by Making All Types Equally Unreliabledisreport.comDispassionate@quokk.au to Programmer Humor@programming.devEnglish · 1 day agomessage-square50fedilink
minus-squareunalivejoy@piefed.sociallinkfedilinkEnglisharrow-up44·1 day 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-up36·1 day agoI mean, technically all JavaScript variables are typed any
minus-square0xDREADBEEF@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up9·23 hours agoyou are forgetting the [object Object] type
minus-squareDispassionate@quokk.auOPlinkfedilinkEnglisharrow-up1·41 minutes agoHave you heard of the new [objective Object] it’s an impartial
minus-squareDangerNooble@lemmy.worldlinkfedilinkarrow-up11·20 hours agoIf you’re ever feeling a little mischievous, that’s also great placeholder text to hide in language files
minus-squareunalivejoy@piefed.sociallinkfedilinkEnglisharrow-up3·1 day 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]typeHave you heard of the new
[objective Object]it’s an impartialIf you’re ever feeling a little mischievous, that’s also great placeholder text to hide in language files
They’re typed as any only when you use typescript.