Home Written on 2022-03-26

The following are lightly edited emails and articles from John Carmack, kept here for archival purposes but also because I’ve noticed that the opposite (harmful) advice has been very popular for years (“Write many more functions! Keep them as short as possible!”). Other people are pushing against it though, like Chandler Carruth in his There are no zero-cost abstractions.

Email on inlining code (2007-03-13)

From: John Carmack <johnc@idsoftware.com> Date: Tue, Mar 13, 2007 at 4:17 PM Subject: inlining code

This is going to be an unusual email – I want to talk about coding style. I’m not going to issue any mandates, but I want everyo…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help