News for hackers. Stuff that matters.
Re:A Proposal for Type Syntax in JavaScript by grandpoobah on Wednesday March 09, 2022 @06:16PM (#30621259)
Except that's not what this is. These are just "type comments" that are not enforced at runtime.
Re:A Proposal for Type Syntax in JavaScript by globuous on Wednesday March 09, 2022 @06:25PM (#30621332)
Are python type annotations enforced at runtime ? I'm pretty sure they're not
Re:A Proposal for Type Syntax in JavaScript by pcthrowaway on Wednesday March 09, 2022 @06:23PM (#30621311)
I thought Python type comments weren't enforced at runtime either.. are they?
Re:A Proposal for Type Syntax in JavaScript by DangitBobby on Wednesday March 09, 2022 @11:13PM (#30623141)
No, they are not.