Hacker News new | past | comments | ask | show | jobs | submit login

Right, but I called the rules "useless" because it does not tell you any actionable info -- and this is normally expected of rules.

Here is a fixed version (note I added "times 20" at the end):

"the compiler generates better assembly code than a human could within the time it takes to write high-level code times 20"

See -- now I can make predictions. Let's say you have a function that you want to make fast, and you want to optimize it in assembly. The function took 30 minutes to write and debug. Do you have 10 hours to spare? Try assembly. No time? Leave as-is.

Much more useful this way, no?




Now it's more accurate, but even less catchy ;-)

How about: "don't blindly assume that the compiler is smarter than you"


That sounds like a special case of "nothing is perfect" and even less actionable. Especially with how vague "blindly" is.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: