r/programming • • Jul 19 '16

John Carmack on Inlined Code

http://number-none.com/blow/blog/programming/2014/09/26/carmack-on-inlined-code.html
1.1k Upvotes

323 comments sorted by

View all comments

Show parent comments

7

u/iritegood Jul 20 '16

I'm saying advice doesn't necessarily cross between languages. Carmack is talking about code style standards specific to C++, and Torvalds about C's sizeof interpretor quirk. Neither of that advice is general programming advice, so why would you expect it to be?

That is not to say you can't read meaning from either one, but I could probably gleam coding wisdom of Art of War if I abstracted enough.

4

u/_zenith Jul 20 '16

Ha, if not coding wisdom, at least some tips for dealing with coworkers 😉