4 ms·
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:
by nagyf 9y ago
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.
- dsun180 9y agoLol. I opened a random src-file and started to wonder wtf this is. Source: https://github.com/amark/gun/blob/master/src/state.js https://github.com/amark/gun/blob/master/src/state.js
- marcus_holmes 9y agoI can't believe so many js devs have regressed to single-letter variable names. This has been a code smell for generations :(