Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ed-209
on Jan 31, 2023
|
parent
|
context
|
favorite
| on:
Reducing technical debt by valuing comments as muc...
Small, well named functions have served me well in this regard, eg.
if (theWhy()){ theWhat() }
davidw
on Feb 1, 2023
|
next
[–]
Sounds good in theory. In practice, you get stuff like
https://github.com/git/git/blob/master/cache-tree.c#L246
sethaurus
on Feb 1, 2023
|
parent
|
next
[–]
I can't tell what's wrong with that — could you elaborate?
davidw
on Feb 1, 2023
|
root
|
parent
|
next
[–]
It's fine. but it's not exactly small, either. It does a lot of different things.
machiaweliczny
on Feb 1, 2023
|
prev
[–]
This is something many people don’t do. They just put some weird statements that will change with time and deciphering what they meant is pain
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
if (theWhy()){ theWhat() }