11 ms·
I was prepared for a debate on calling _exit() vs exit() vs no explicit exit in Pike. This app is pretty interesting, too though.
by cestith 7mo ago
I was prepared for a debate on calling _exit() vs exit() vs no explicit exit in Pike. This app is pretty interesting, too though.
- em-bee 7mo agothere is also the use of return from main(), in particular return -1; which doesn't exit. i was debating whether i should post this discussion on the pike language discord, but now i will. you two made my day!
- cestith 7mo agoI don’t program regularly in Pike. I’ve played with some of the examples from various benchmark and language comparison sites for the most part, but given additional free time it’s a language I’d like to actually use sometimes. I therefore wasn’t even aware of returning -1 from main() doing that. It’s an interesting thing. I’d like to read about that, but maybe not enough to join the language discord.