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

With the downside that I have absolutely no clue what this code does or how.


Once you get used to promises (it took me a couple of days) it's not confusing at all. It takes a bit of effort though. I remember when I first started programming none of the programs made any sense to me; as you said, I had absolutely no clue what the code did and how. But then I kept practicing and soon I understood how things work.


Yeah, I guess it's not fair for me to compare something I'm familiar with to something I'm not. I'm sure promises are easy to understand, but that API there does not look great.




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

Search: