News for hackers. Stuff that matters.
Re:Move Fast without Breaking Things by chipsy on Monday March 28, 2016 @02:42PM (#11376316)
Math-heavy code tends to involve a lot of very similar algorithms, leading to a copy-paste-rename situation that isn't really helped by using a function.

As such it's incredibly common to end up with bugs from assigning to "x, y, y" and not "x, y, z" etc. Sometimes a clever compiler will warn you that you have done something odd, other times you'll be left to discover the runtime error.

Re:Move Fast without Breaking Things by ArkyBeagle on Tuesday March 29, 2016 @01:34PM (#11383183)
Yeah, there's that. I've printed out code like that and colored different variables with different color highlighters to deal with it.