Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
chris11
8y ago
0 comments
Save
Share
Code should be written for readability, not typing speed.
0 comments
7 comments · 2 top-level
top
newest
oldest
thallium205
8y ago
· 3 in thread
But if you're in a competitive environment that requires speed, why would you write for readability?
saagarjha
8y ago
Because you’ll end up debugging the code an hour later when it fails on an edge case?
kevmo314
8y ago
The really good competitors won't make that sort of mistake...
jack9
8y ago
Because you probably have to re-read some, if not most, of the code while working through a solution.
victords
8y ago
· 2 in thread
This is not production quality code that is running on some important business. It's competitive programming.
Speed is the goal here.
gaius
8y ago
This is not production quality code that is running on some important business.
Then why is it used in the interview process for the latter?
thomasahle
8y ago
I don't think code shortening is ever used for interview questions?
j
/
k
navigate · click thread line to collapse