Code Review Tips
agentultra.com·1d
💬Error Message Design
Preview
Report Post

The tips in this post are focused on informal code reviews; the kind most folks are used to doing on sites like Github or Gitlab and so forth. Some may also work with formal code reviews. Discretion is required.

Specifications Matter

Djikstra had made some famous quotes about testing and proving the correctness of programs. Among them was an anecdote I’ll paraphrase here regarding a colleague who proposed a change to the code: Djikstra would find an error in the code, the colleague would make the necessary changes and resubmit his proposal to Djikstra.

The whole process was time consuming and so Djikstra put the burden of proving that the change should be merged on the author. That made Djikstra’s job much easier. Instead of inspecting the code line by line he had only to revi…

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