Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » What's the funniest code we can think of?
- MegaApuTurkUltra
-
Scratcher
1000+ posts
What's the funniest code we can think of?
I spend too much time on reddit I think :pdon't we all?
- gdpr533f604550b2f20900645890
-
Scratcher
1000+ posts
What's the funniest code we can think of?
A surprise to be sure, but a welcome one.I spend too much time on reddit I think :pdon't we all?
- nathanprocks
-
Scratcher
1000+ posts
What's the funniest code we can think of?
Any kind of loop that spams text, because I like flooding consoles with thousands of the same characters.CTRL+Cwhile (true) {
System.out.println(“Hi there, I'm java code! So anyways, how is your day? Probably not so great, since I am spamming your screen here…”);
}
sudo find / -name '*java*' -delete
- mr-scratch-cat
-
Scratcher
500+ posts
What's the funniest code we can think of?
Guys has nobody around here seen the expanding brain meme beforeOne of the funniest memes I've discovered. Thanks so much!
tldr it's a set of panels where the thing being portrayed gets progressively dumber and more complicated while the image displays increasing levels of “enlightenment”
see various examples
- Zorohh
-
Scratcher
100+ posts
What's the funniest code we can think of?
/**
* Always returns true.
*/
public boolean isAvailable() {
return false;
}
- Zorohh
-
Scratcher
100+ posts
What's the funniest code we can think of?
I found this one funny for some reason.
/* Copyright © <YEAR>, <OWNER>
* All rights reserved.
*
* This program is licensed under the Chicken Dance License v0.2
*
* You should have received a copy of the license text with this
* software, along with instructions on how to perform the Chicken
* Dance.
*/
#include <stdio.h>
int main()
{
printf(“This program is licensed under the CDL.\n”); /* I don't want to license “Hello World” */
printf(“\a”);
return 0;
}
- Zorohh
-
Scratcher
100+ posts
What's the funniest code we can think of?
idk why..
Last edited by Zorohh (May 10, 2017 18:43:19)
- awesome-llama
-
Scratcher
1000+ posts
What's the funniest code we can think of?
I found this one funny for some reason.Lol, where did you find that?/* Copyright © <YEAR>, <OWNER>
* All rights reserved.
*
* This program is licensed under the Chicken Dance License v0.2
*
* You should have received a copy of the license text with this
* software, along with instructions on how to perform the Chicken
* Dance.
*/
#include <stdio.h>
int main()
{
printf(“This program is licensed under the CDL.\n”); /* I don't want to license “Hello World” */
printf(“\a”);
return 0;
}
- nathanprocks
-
Scratcher
1000+ posts
What's the funniest code we can think of?
https://github.com/supertunaman/cdlI found this one funny for some reason.Lol, where did you find that?/* Copyright © <YEAR>, <OWNER>
* All rights reserved.
*
* This program is licensed under the Chicken Dance License v0.2
*
* You should have received a copy of the license text with this
* software, along with instructions on how to perform the Chicken
* Dance.
*/
#include <stdio.h>
int main()
{
printf(“This program is licensed under the CDL.\n”); /* I don't want to license “Hello World” */
printf(“\a”);
return 0;
}
- Wettining
-
Scratcher
500+ posts
What's the funniest code we can think of?
+++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ ++ .
++++++++++++++++++++ ++++++++++++++++++++ ++++++++++++++++++++ ++++++++++++++++++++ ++++++++++++++++++++ ++++++++++++++++++++ ++++++++++++++++++++ ++++++++++++++++++++ ++++++++++++++++++++
++++++++++++++++++++ ++++++++++++++++++++ ++++++++++++++++++++ ++++++++++++++++++++ ++++++++++++++++++++ .
+++++++++++++++++++++++ +++++++++++++++++++++++ +++++++++++++++++++++++ +++++++++++++++++++++++ +++++++++++++++++++++++ +++++++++++++++++++++++ +++++++++++++++++++++++ +++++++++++++++++++++++ +++++++
+++++++++++++++++++++++ +++++
+++++ ++ ..
+++.
++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ +++++.
++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ +++.
+++.
++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ +++++.
++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ +++.
This is the hello world program in Small
Last edited by Wettining (Aug. 17, 2017 02:40:41)
- Blaze349
-
Scratcher
1000+ posts
What's the funniest code we can think of?
https://cdn.discordapp.com/attachments/336776237357727745/336950724615471104/image.jpgSwift code. Swift supports any unicode character.
- DatOneLefty
-
Scratcher
1000+ posts
What's the funniest code we can think of?
because applehttps://cdn.discordapp.com/attachments/336776237357727745/336950724615471104/image.jpgSwift code. Swift supports any unicode character.
- Blaze349
-
Scratcher
1000+ posts
What's the funniest code we can think of?
That's one of the coolest things about Swift. Unicode support is built in. Swift also has generics. This means I don't have to write the same function for each possible type.because applehttps://cdn.discordapp.com/attachments/336776237357727745/336950724615471104/image.jpgSwift code. Swift supports any unicode character.
- __init__
-
Scratcher
1000+ posts
What's the funniest code we can think of?
In Python 3, you can name variables with unicode characters, but only letterlike ones (i.e. è) - no emojisThat's one of the coolest things about Swift. Unicode support is built in. Swift also has generics. This means I don't have to write the same function for each possible type.because applehttps://cdn.discordapp.com/attachments/336776237357727745/336950724615471104/image.jpgSwift code. Swift supports any unicode character.

- herohamp
-
Scratcher
1000+ posts
What's the funniest code we can think of?
fully valid EMCA6
var ಠ益ಠ = "(。◕‿‿◕。)"
var ↀᴥↀ = "(✾♛‿♛)"
var ʘ‿ʘ = {
一_一: function(ಥ﹏ಥ) {
return ಥ﹏ಥ + ಠ益ಠ
},
ಠ_ರೃ: function(ლ) {
return this.一_一(ლ) + ლ
}
}
ʘ‿ʘ.ಠ_ರೃ(ↀᴥↀ+ʘ‿ʘ.ಠ_ರೃ(ಠ益ಠ)+ↀᴥↀ)
Last edited by herohamp (July 19, 2017 04:00:56)
- novice27b
-
Scratcher
1000+ posts
What's the funniest code we can think of?
#include <stdio.h> #include <string.h> #include <stdlib.h> #define st8 printf #define alloc8 malloc #define concaten8 strcat #define calcul8 sprintf #define iter8 for char * r8 (int numer8r, int denomin8r) { char * r8ing = alloc8(8); calcul8(r8ing, "%d", 100 * numer8r / denomin8r); concaten8(r8ing, "%"); return r8ing; } int main() { iter8 (int i = 8 - 8; i < 8; i++) st8("gr8 b8 m8, would r8 %s\n", r8(8, 8)); return 8; }
Last edited by novice27b (July 19, 2017 08:42:47)
- Wettining
-
Scratcher
500+ posts
What's the funniest code we can think of?
I was reading it backwards and thought it was QBasic for a second#include <stdio.h> #include <string.h> #include <stdlib.h> #define st8 printf #define alloc8 malloc #define concaten8 strcat #define calcul8 sprintf #define iter8 for char * r8 (int numer8r, int denomin8r) { char * r8ing = alloc8(8); calcul8(r8ing, "%d", 100 * numer8r / denomin8r); concaten8(r8ing, "%"); return r8ing; } int main() { iter8 (int i = 8 - 8; i < 8; i++) st8("gr8 b8 m8, would r8 %s\n", r8(8, 8)); return 8; }













