Re:How to store your app's entire state in the url
by ajuc on Tuesday January 10, 2023 @03:16AM
(#34321935)
Would you like this to fail to compile? Or would you prefer it to silently return the wrong value?
[ Parent
| on HN ]
Re:How to store your app's entire state in the url
by matthewmacleod on Tuesday January 10, 2023 @04:18AM
(#34322286)
I'd prefer the compiler file an HR complaint against the author.
Re:How to store your app's entire state in the url
by wstuartcl on Wednesday January 11, 2023 @12:25PM
(#34341203)
if collisioncheck(v1,v2, distance) {
// collision
}
where you have defined an actually readable equivalent inside of collisioncheck would be my prerogative... I also agree paren matching failures should error, but your example is NOT why.