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

Curious how the author first spends words to explain that concatenating strings can be wasteful of precious memory, and then does exactly that in the program, by repeatedly printing constructed strings (with "+") instead of merely printing them side by side (with ";").



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

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

Search: