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

> Output (text output) isn't bad in C

It's still poor compared to most languages I've used. String formatting is not simple for beginners. In Python you can do:

    print(num_eggs)
where num_eggs is an integer. In C you have to do:

    printf("%d", num_eggs);
One is much simpler than the other.

And on top of that, I detest languages that force you to manually enter newlines by default. Probably over 90% of use cases require a newline, so why not have the function add it by default, and either provide another print function or optional parameter for the times when you don't want a newline? The "I forgot to add a newline" headache is extremely annoying. Whereas in languages that add it by default, I rarely find myself saying "Ouch. I actually didn't want a newline there."




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

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

Search: