Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I FUCKING HATE DYNAMIC TYPING

Name: Anonymous 2014-07-07 19:07

I've spent hours trying to figure out what's wrong and it was because this shit silently accepted a vector in place of a scalar. FUUUUCK FUCKETY FUUUUCK. Static typing should be everywhere, even in math software, even in fucking Python, I want ALL programming to always be strictly and statically typed. Fucking idiots, ARRGGH.

Name: Anonymous 2014-07-09 16:53

>>11
It wasn't an arithmetic operation, it was a call like

foo(x, otherArg, anotherArg)

and x was supposed to be a scalar but I accidentally put a vector like {x, 0, 0} there so the call became

foo(x, 0, 0, ...)

so the fucking thing just ignored my other args without a single warning, making a perfectly wrong calculation and feeling good about it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List