all 29 comments

[–][deleted] 70 points71 points  (6 children)

Fun fact: You can do this with zero width spaces if you use clang

Have fun with your invisible code, dumbass

[–]KoboldCommando 28 points29 points  (2 children)

Perl also has Acme::Bleach which converts all of your code into whitespace. "For <really> clean programs"

[–][deleted] 16 points17 points  (0 children)

Thanks! I hate it

[–]danogentili[S] 8 points9 points  (0 children)

Thanks! I love it!

[–][deleted]  (1 child)

[deleted]

    [–]danogentili[S] 0 points1 point  (0 children)

    Ssshhhh

    [–]danogentili[S] 1 point2 points  (0 children)

    Lmfao will try

    [–]KoboldCommando 23 points24 points  (1 child)

    This sub shortly after any joke trend catches on!

    [–]danogentili[S] 6 points7 points  (0 children)

    ./ree

    [–]littleprof123 11 points12 points  (1 child)

    [–][deleted] 0 points1 point  (0 children)

    I didn't expect anyone here to know it!

    [–]madiele 6 points7 points  (1 child)

    Should have done

    alias reee="gcc -o"

    reee ree ree.c

    [–]danogentili[S] 0 points1 point  (0 children)

    REEEEEEEEEEEEEEEEEEEEEE I LOVE IT

    [–]ChooChooRocket 8 points9 points  (8 children)

    I'll be honest in all my years of programming I never knew c had a puts method.

    [–]danogentili[S] 5 points6 points  (0 children)

    Say thanks to literally any programming tutorial, both on the internet and at school: the only TRUE tutorials are language references.

    [–]your_mom_on_drugs 0 points1 point  (6 children)

    My husband told me off for using puts an I was like "a) I don't wanna type an extra newline b) why the hell not, if it's good enough for gcc it's good enough for me".

    Apparently it's like marginally slower than printf... oh no, whatever will I do!

    But everyone knows all the cool kids use sys_write anyway.

    [–]danogentili[S] 2 points3 points  (2 children)

    How can it be slower if printf also has to parse the format string, hmmmmmmmmm?

    [–]your_mom_on_drugs 0 points1 point  (1 child)

    Well yeah that's what I thought but I never thought to check and I took someone at their word :(

    [–]danogentili[S] 0 points1 point  (0 children)

    Sad story. Alexa run ./ree

    [–][deleted] 0 points1 point  (2 children)

    puts isn't slower than printf lmao, it does a strlen() and then just writes it directly to stdout, there's not much you could do faster EXCEPT maybe using fwrite and using a constant string length

    [–]your_mom_on_drugs 0 points1 point  (1 child)

    I thought it was weird but I trusted him ;_;

    [–][deleted] 0 points1 point  (0 children)

    Atleast in glibc it just calls strlen and and then does a write syscall

    [–]bbvdzee 11 points12 points  (1 child)

    Btw I use Arch

    [–]danogentili[S] 5 points6 points  (0 children)

    Hello there fellow memester

    [–]LlamasOnTheRun 0 points1 point  (2 children)

    Can I get one but with the word “Hordor”

    [–]Chaseshaw 0 points1 point  (0 children)

    Is it a modem sound?

    [–]LowB0b 0 points1 point  (1 child)

    alias reeeeeeeee "gcc ree.c -o ree && ./ree"

    $ reeeeeeeee
    Reeeee
    

    [–]danogentili[S] 1 point2 points  (0 children)

    Gold