News for hackers. Stuff that matters.
Re:Type system of Fortnite's Verse language by joshspankit on Thursday March 30, 2023 @12:17PM (#35375109)
You’ve picked a poor example. ‘=‘, ‘==‘, and ‘===‘ constantly trip up new coders and have led to some not-insignificant bugs.

A lot of style guides even had to include guards against the worst one:

‘if (variable = “string”)’

I think that putting guardrails there by making the assignment operator stand out was a smart move. Annoying to use, but smart.

There are no comments on this comment yet.