Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
slinger
on April 29, 2018
|
parent
|
context
|
favorite
| on:
Competitive Programmer's Handbook (2017) [pdf]
Why?
chris11
on April 29, 2018
[–]
Code should be written for readability, not typing speed.
victords
on April 29, 2018
|
parent
|
next
[–]
This is not production quality code that is running on some important business. It's competitive programming.
Speed is the goal here.
gaius
on April 29, 2018
|
root
|
parent
|
next
[–]
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
on April 29, 2018
|
root
|
parent
|
next
[–]
I don't think code shortening is ever used for interview questions?
thallium205
on April 29, 2018
|
parent
|
prev
[–]
But if you're in a competitive environment that requires speed, why would you write for readability?
saagarjha
on April 29, 2018
|
root
|
parent
|
next
[–]
Because you’ll end up debugging the code an hour later when it fails on an edge case?
kevmo314
on April 30, 2018
|
root
|
parent
|
next
[–]
The really good competitors won't make that sort of mistake...
jack9
on April 29, 2018
|
root
|
parent
|
prev
[–]
Because you probably have to re-read some, if not most, of the code while working through a solution.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: