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

Of course it can be as simple as that, that's beside the point

But almost every time you actually won't ship a program that just prints stuff to the console

That's why I did it that way, because how you actually output won't be println, but probably to a window or a socket, or whatever

The core functionality of passing a slice will be actually useful in those cases, you can include this code in your final program




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: