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

Yea 3 hours is way too long, this is a 30 min task tops.



The OP, who had already done the task before, took more than an hour to complete it.


Ok, that doesn't bode well for the op.

Note, I haven't used C in 15 years, have never looked at memcached code and in fact the last time I used memcached was before redis even existed.

It took me ~26 mins which included reading the article, googling the memcached repo, downloading all dependencies, compiling a first build, grepping for references to incr and adding mult with support for negative arguments, refactoring the guts of incr into two functions to support the changes, compiling, fixing a few compiler bugs then testing, given a few more minutes I'd probably be able to get it PR ready with a full test suite.




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

Search: