Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well the code itself doesn't look interesting at all, it is ugly as hell. Lacks comments, poorly organized, full of ugly names.

e.g.: from chain.js:

// TODO: BUG! Handle plural chains by iterating over them.

(obj_has(next, 'put')){ // potentially incorrect?

if(u !== next.put){ // potentially incorrect? Maybe?

A lot of comments like: // ugly hack for now.



Lol. I opened a random src-file and started to wonder wtf this is.

Source: https://github.com/amark/gun/blob/master/src/state.js


I can't believe so many js devs have regressed to single-letter variable names. This has been a code smell for generations :(




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

Search: