Hacker News new | ask | show | jobs
by PastaMonster 2428 days ago
Oh dear. Lots of magic numbers. The programmers are not educated properly. Just horrible code.
4 comments

NNs are full of magic numbers that were learned from training sets.
I think you are missing the point.

The horrible magic numbers are outrageous because of the arbitrary nature of them. And for those of us who read the code we are supposed to notice that.

Hiding them behind constants would lessen the impact of that.

This is minified code, so couldn't the minifier have replaced the constants with their values or something?
Those aren't minified or obfuscated variable names... that's obvious.
A minifier is actually more likely to introduce constants for repeated values.
It's supposed to be funny