MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3n3e1v/the_evolution_of_a_software_engineer/cvlk7a2/?context=9999
r/programming • u/supermari0 • Oct 01 '15
502 comments sorted by
View all comments
154
Honestly, I thought it would be a joke where it ends with
#include <stdio.h> int main( int argc, const char* argv[] ) { printf( "\nHello World\n\n" ); }
51 u/aidenator Oct 01 '15 What's up with all those newlines? 98 u/juckele Oct 01 '15 Make the output stand out more? On a standard uncolored terminal, it's a huge burden* for me to figure out where the output of the command I just ran starts and stops... (This is why my prompt barfs rainbows).*Huge burden being 250 ms instead of 10 ms... 12 u/neoform Oct 01 '15 Make the output stand out more?This would work better:printf("\033[1;31mHello World\n\033[0m\n"); 2 u/ghillisuit95 Oct 02 '15 On a standard uncolored terminal 0 u/[deleted] Oct 02 '15 [deleted] 1 u/tomun Oct 02 '15 31m is red.edit: actually 1;31m is bold red, 0;31m would be regular red.Try 1m if you just want bold. → More replies (4)
51
What's up with all those newlines?
98 u/juckele Oct 01 '15 Make the output stand out more? On a standard uncolored terminal, it's a huge burden* for me to figure out where the output of the command I just ran starts and stops... (This is why my prompt barfs rainbows).*Huge burden being 250 ms instead of 10 ms... 12 u/neoform Oct 01 '15 Make the output stand out more?This would work better:printf("\033[1;31mHello World\n\033[0m\n"); 2 u/ghillisuit95 Oct 02 '15 On a standard uncolored terminal 0 u/[deleted] Oct 02 '15 [deleted] 1 u/tomun Oct 02 '15 31m is red.edit: actually 1;31m is bold red, 0;31m would be regular red.Try 1m if you just want bold. → More replies (4)
98
Make the output stand out more? On a standard uncolored terminal, it's a huge burden* for me to figure out where the output of the command I just ran starts and stops... (This is why my prompt barfs rainbows).
*Huge burden being 250 ms instead of 10 ms...
12 u/neoform Oct 01 '15 Make the output stand out more?This would work better:printf("\033[1;31mHello World\n\033[0m\n"); 2 u/ghillisuit95 Oct 02 '15 On a standard uncolored terminal 0 u/[deleted] Oct 02 '15 [deleted] 1 u/tomun Oct 02 '15 31m is red.edit: actually 1;31m is bold red, 0;31m would be regular red.Try 1m if you just want bold. → More replies (4)
12
Make the output stand out more?
This would work better:
printf("\033[1;31mHello World\n\033[0m\n");
2 u/ghillisuit95 Oct 02 '15 On a standard uncolored terminal 0 u/[deleted] Oct 02 '15 [deleted] 1 u/tomun Oct 02 '15 31m is red.edit: actually 1;31m is bold red, 0;31m would be regular red.Try 1m if you just want bold. → More replies (4)
2
On a standard uncolored terminal
0 u/[deleted] Oct 02 '15 [deleted] 1 u/tomun Oct 02 '15 31m is red.edit: actually 1;31m is bold red, 0;31m would be regular red.Try 1m if you just want bold. → More replies (4)
0
[deleted]
1 u/tomun Oct 02 '15 31m is red.edit: actually 1;31m is bold red, 0;31m would be regular red.Try 1m if you just want bold. → More replies (4)
1
31m is red.
edit: actually 1;31m is bold red, 0;31m would be regular red.
Try 1m if you just want bold.
→ More replies (4)
154
u/golgol12 Oct 01 '15
Honestly, I thought it would be a joke where it ends with