r/linux • u/unixbhaskar • Dec 28 '21
Tips and Tricks Rules of Programming
/r/computerscience/comments/rq60d4/rules_of_programming/[removed] — view removed post
0
Upvotes
r/linux • u/unixbhaskar • Dec 28 '21
[removed] — view removed post
2
u/Columbus43219 Dec 28 '21
Rule 3.
Fancy algorithms are slow when n is small, and n is
usually small. Fancy algorithms have big constants. Until you know
that n isn't frequently going to be big, don't get fancy. (Even if n
does get big, use Rule 2 first.)
Is that a typo?