3 ms·
Programming is about writing code that's understandable for humans - otherwise we'd just edit the binaries with a hex editor. A polymorphic function may well co
by lmm 6y ago
Programming is about writing code that's understandable for humans - otherwise we'd just edit the binaries with a hex editor. A polymorphic function may well compile to the exact same binary as a switch, but it puts the responsibilities in the right place and makes future maintenance much easier.