Hacker Newsnew | past | comments | ask | show | jobs | submit | jrawlings's commentslogin

Any chance of supporting integrations with AWS, Azure, GCP APIs?


Bayesian programming anyone?


I think most programmers have very strong prior(opinion)s already...


Recursive functions like this are more like closures and not pure functions. Aliasing factorial1 and reassigning it will break the recursion [1]. Maybe this is what jbrooksuk was referring to.

[1] https://leanpub.com/javascript-allonge/read#recursive


I just did

return i.indexOf('.') > -1 ? i.substring(i.indexOf('.')+1) : false;

Seemed to pass all test cases


Aye, I did similarly, though for some reason I did >= 0 instead of > -1. I wonder what % of people choose one test approach vs. the other?


I chose >= 0, it's fun to learn!


can anyone spare an invite? :)


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

Search: