Hacker News .hnnew | past | comments | ask | show | jobs | submit | shraddhaag's commentslogin

Wrote a short blog about solving Advent of Code day 2 in Golang. Although the problem itself was trivial, it came with a sweet reminder about slice internals. I have made this mistake way too many times, hopefully now that I've written this blog, it won't happen again


Wrote a blog about this year's advent of code day 1. While solving the problem I was once again struck with the missing function for calculating absolute value for integers and decided to dig a lil deeper. You'll also find a small recap of how the abs() function for floats evolved over time in the standard library.

Please do give it a read and let me know your thoughts!


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

Search: