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

The original challenge [0] was submitted as a "code-golf" challenge, which means that the solution needed to solve the problem in the fewest bytes of source code.

There are a lot of tricks to minimize the character count, and replacing a();b() with b(a()) is one of them.

[0]: https://codegolf.stackexchange.com/q/196917/38454




Ah, that makes sense. Thanks.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: