News for hackers. Stuff that matters.
Re: Is it OK to replace optimized code with readable code? by davtbaum on Saturday August 11, 2012 @04:06PM (#4370855)
Who ever said optimization and readability were mutually exclusive?

If the engineer who develops this (provably optimized) codebase can't read the code, he/she should be replaced with someone who can.

Re: Is it OK to replace optimized code with readable code? by Rastafarian on Saturday August 11, 2012 @04:10PM (#4370867)
Right, an advice with zero practical value. There's such an abundance of great programmers awaiting a job/contract offer ...
Re: Is it OK to replace optimized code with readable code? by sliverstorm on Saturday August 11, 2012 @04:18PM (#4370881)
If "optimized" means "clean and efficient", then yes, it is inherently readable.

But, there are plenty of optimizations one might make that are obtuse and difficult for any human to easily hold in their head.