Better HN
topnewbestaskshowjobs
Log inSign up

vrybas1

-3 karma · joined Mar 9, 2014 (12y ago) · 5 submissions

Submissions

1.

Work-In-Progress Pull Requests(vrybas.github.io ↗)

1 points · by vrybas1 · 12y ago · discuss

2.

A Way to Organize POROs in Rails(vrybas.github.io ↗)

2 points · by vrybas1 · 12y ago · discuss

comment 12y ago · link · parent

Story behind the code:

TALES FROM THE LUNAR MODULE GUIDANCE COMPUTER http://www.doneyles.com/LM/Tales.html

comment 12y ago · link · parent

I'm getting closer & closer to make this statement a rule:

"Code need to be that good - no one in a team can write any better"

If you, knowing current requirements, wrote a perfect code - it will still become messy at some point. Feature by feature new things will appear here and there. Functions size will grow, this CASE statement will grow etc. But still the "core" of it will be strong.

If you, knowing current requirements, deliberately wrote a "good enough" code, what will happen with next change? The code won't survive it and will be deleted(at best case). Therefore, bad code is completely useless from the start.

comment 12y ago · link · parent

↑ This!