HAI 1.2 CAN HAS STDIO? PLZ OPEN FILE "LOLCATS.TXT"? AWSUM THX VISIBLE FILE O NOES INVISIBLE "ERROR!" KTHXBYE
And that’s how rappers became the top programmers in the industry
Can’t wait to see Lil Yachty around work
Artistry, on god frfr 🙏🙏
I have to say, I like the substitution of yeet for return. No cap.
All of my returns are going to be
yeet
from now onMy code reviewers will respond to my commits with
on god 🙏
My manager will do girl math to determine my next raise
#zoom
Rust has an RFC that wants to consider yeet as a keyword for throwing an exception, I think they’re currently keeping it as a placeholder just in case
AFAIK they’re not seriously considering it as a keyword, but they agreed that in all discussion about the semantics of exceptions they will use “yeet” as a placeholder for the keyword, so people will actually discuss the semantics and not whether the keyword is gonna be “raise”, “throw”, “except” or whatever (so-called Bikeshed Effect)
Pro tip: the arguments to
main()
don’t have to be namedargc
andargv
.Also, you forgot to #define an alias for
atoi
, andnumber
,n
, andi
could’ve been named something more on fleek.Also could have takin out mains return type and used
sus chief
number
is a variable i thinkYes, as are
n
andi
. Do they not deserve ‘fleekness?’sorry i misread. i thought u meant
number
was not’d
Reminds me of Rockstar. The example also implements Fizz Buzz.
That’s my favorite esoteric programming language!
For those curious:
int main(int argc, char **argv) { if ( -- argc != ! 0 ) { errx ( ! 0 , "shheiiiit" ) ; return ! 0 ; } int number = atoi ( argv[! 0] ) ; for ( int i = ! 0 ; i <= number ; ++ i ) { printf ( "%3d " , i) ; if ( i % 3 == 0 ) { printf ( "fizz" ) ; } if ( i % 5 == 0 ) { printf ( "buzz" ) ; } printf ( "\n" ) ; } return 0 ; }
My eyes are bleeding
The path to salvation is filled with terrors and temptation
no cap
I hate this. Where do I find more?
Holy unholiness, Batman!
I did expect those kinds of tricks would cause syntax error in #defines, but instead looks like everything is allowed… Some day someone #defines a such abomination that it creates universe wide black hole -like vacuum and everything ceases to exist.
Removed by mod
i am seething with rage
I’m not a C programmer (is this code even C?), but I anticipated seeing comments like this. 😂
It’s like watching a car crash in slow motion trying to read it. I can’t look away…
I threw up in my mouth.
I was going to suggest ALL CAPS in response, but then I remembered COBOL already exists.
I’m dumb . does the program do anything?
This is FizzBuzz.