Hacker News new | past | comments | ask | show | jobs | submit login

Naming things is the hardest thing to do in computer science.



That, and cache invalidation.


That, and off-by-one errors


There are actually only two hard problems in computer science:

0) Cache invalidation

1) Naming things

5) Asynchronous callbacks

2) Off-by-one errors

3) Scope creep

6) Bounds checking


7) Project estimation


-1) Keeping secrets


Luckily, building better garbage collectors is easy: ref pointers to each cons


Ha ha! I get the reference:

http://people.cs.uchicago.edu/~wiseman/humor/ai-koans.html

Moon instructs a student

One day a student came to Moon and said: “I understand how to make a better garbage collector. We must keep a reference count of the pointers to each cons.”

Moon patiently told the student the following story:

“One day a student came to Moon and said: ‘I understand how to make a better garbage collector...

[Ed. note: Pure reference-count garbage collectors have problems with circular structures that point to themselves.]


old heads and new alike ~~grok~~ vibe


Naming things is the hardest thing to do in computer science.


4294967295) Integer underflows


NaN) Javascript


7) February 29th.


7) Timezones

FTFY


7.0000001) leap seconds


9000) communicating


I thought it was the second hardest. At least that's what I remember, since I last checked.


We see what you did there.


Yes brother I agree!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: