Discuss Scratch

kvackkvack
Scratcher
500+ posts

What are some funny programming/mathematical jokes?

Jonathan50 wrote:

Valid C++ program:
#include<iostream>
;;;;;;
template<typename x>
x add(x y,x z)
{;;;;;
return y+z;
};;;;;
;;;;;;
int
main()
{;;;;;
;;;;;;
int _;
_=123;
;;;;;;
for(;;)
break;
;;;;;;
;;;;;;
_;_;_;
_;_;_;
;;;;;;
;;;;;;
(_);;;
;(_);;
;;(_);
;(_);;
(_);;;
;;;;;;
_=add<int>(8,8);
std::cout<<_;
std::cout<<'\n';
_?_:_;
;;;;;;
};;;;;
;;;;;;
Very eye-pleasing
[/offtopic]
But that's because you're intentionally making it look ugly!
I think the problem people find with Lisp's parentheses is, just as @comp09 stated, it's hard for those not accustomed to them to orient through code when there are thousands of parentheses everywhere and it's sometimes even hard to make out which set a certain function (procedure?) call even belongs to.
With C-like languages, even though they have some weird grammar and perhaps unneeded symbols, if you aren't intentionally trying to make it look ugly, a large C-program is readable to many more people than Lisp is.
NickyNouse
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

Jonathan50 has a point, the benefits of C++ are hard to see because its deviation from C has been largely *incremental*
joefarebrother
Scratcher
500+ posts

What are some funny programming/mathematical jokes?

C++ is a bug in itself. It's only better than C AFTER you finish using it!


And it was delicious! Play TBGs! Check out my Scheme Interpreter!
;
Jonathan50
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

joefarebrother wrote:

C++ is a bug in itself. It's only better than C AFTER you finish using it!
Oh, I get it… it should be ++C

EDIT: Actually C++ mutates C to make it better after you use C++ 0_o

Last edited by Jonathan50 (May 20, 2016 07:14:11)


Not yet a Knight of the Mu Calculus.
DigiTechs3
New to Scratch
51 posts

What are some funny programming/mathematical jokes?

Jonathan50 wrote:

joefarebrother wrote:

C++ is a bug in itself. It's only better than C AFTER you finish using it!
Oh, I get it… it should be ++C

EDIT: Actually C++ mutates C to make it better after you use C++ 0_o

That's because it's template<typename T> magic();

DrKat123
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

this might be a bad joke

A: You might have heard of this:
a = b
a^2 - b^2 = ab-b^2
[factorize ab-b^2 and change the difference of the square]
(a-b)(a+b) = b(a-b)
(a+b) = b [this is getting weird…]
[remove the parentheses]
a+b = b [again this is weird]
[subtract b from each sides]
a+b-b = b - b
a = 0

B: What's the point of life then?
A: We need to prove that nothing equals zero


*invites infinite mathematicians to a party to prove that nothing equals zero*





btw
(b+a)(2b-a)(a-b)^2/(b-a)(b^2-a^2)(2b-a) -1

Last edited by DrKat123 (May 20, 2016 09:53:01)


Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun

λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
The_Grits
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

What do you call a computer that sings?

A dell.


DigiTechs
Scratcher
500+ posts

What are some funny programming/mathematical jokes?

The_Grits wrote:

What do you call a computer that sings?

A dell.

You know what always scam you? Macs. It's even in their name!

I do, in fact, have my own site; it's here.
I'm also working on a thing called Fetch. Look at it here!
@thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain.
Jonathan50
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

The_Grits wrote:

What do you call a computer that sings?

A dell.
Hehehe I have a dell computer…

Not yet a Knight of the Mu Calculus.
gdpr533f604550b2f20900645890
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

DrKat123 wrote:

this might be a bad joke

A: You might have heard of this:
a = b
a^2 - b^2 = ab-b^2
[factorize ab-b^2 and change the difference of the square]
(a-b)(a+b) = b(a-b)
(a+b) = b [this is getting weird…]
[remove the parentheses]
a+b = b [again this is weird]
[subtract b from each sides]
a+b-b = b - b
a = 0

B: What's the point of life then?
A: We need to prove that nothing equals zero


*invites infinite mathematicians to a party to prove that nothing equals zero*





btw
(b+a)(2b-a)(a-b)^2/(b-a)(b^2-a^2)(2b-a) -1
I've seen something similar to this before. The trick is that in steps 3 - 4, you are dividing by zero.
TheMonsterOfTheDeep
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

Jonathan50 wrote:

#include<iostream>
;;;;;;
template<typename x>
x add(x y,x z)
{;;;;;
return y+z;
};;;;;
;;;;;;
int
main()
{;;;;;
;;;;;;
int _;
_=123;
;;;;;;
for(;;)
break;
;;;;;;
;;;;;;
_;_;_;
_;_;_;
;;;;;;
;;;;;;
(_);;;
;(_);;
;;(_);
;(_);;
(_);;;
;;;;;;
_=add<int>(8,8);
std::cout<<_;
std::cout<<'\n';
_?_:_;
;;;;;;
};;;;;
;;;;;;
this is beautiful

beauty is subjective

my latest extension: 2d vector math
DrKat123
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

Chibi-Matoran wrote:

DrKat123 wrote:

this might be a bad joke

A: You might have heard of this:
a = b
a^2 - b^2 = ab-b^2
[factorize ab-b^2 and change the difference of the square]
(a-b)(a+b) = b(a-b)
(a+b) = b [this is getting weird…]
[remove the parentheses]
a+b = b [again this is weird]
[subtract b from each sides]
a+b-b = b - b
a = 0

B: What's the point of life then?
A: We need to prove that nothing equals zero


*invites infinite mathematicians to a party to prove that nothing equals zero*





btw
(b+a)(2b-a)(a-b)^2/(b-a)(b^2-a^2)(2b-a) -1
I've seen something similar to this before. The trick is that in steps 3 - 4, you are dividing by zero.
Well yeah

Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun

λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
__init__
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

Ooh, I have a funny programming joke!

PHP.

thisandagain pls explain
Icey29
Scratcher
500+ posts

What are some funny programming/mathematical jokes?

__init__ wrote:

Ooh, I have a funny programming joke!

PHP.
I cringe.
Dylan5797
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

__init__ wrote:

Ooh, I have a funny programming joke!

PHP.
+1

C:\WINDOWS\System32>echo echo
echo

C:\WINDOWS\System32>

Jonathan50
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

echo echo
$(echo echo) $(echo echo)
$($(echo echo) $(echo echo)) $($(echo echo) $(echo echo))
$($($(echo echo) $(echo echo)) $($(echo echo) $(echo echo))) $($($(echo echo) $(echo echo)) $($(echo echo) $(echo echo)))
$($($($(echo echo) $(echo echo)) $($(echo echo) $(echo echo))) $($($(echo echo) $(echo echo)) $($(echo echo) $(echo echo)))) $($($($(echo echo) $(echo echo)) $($(echo echo) $(echo echo))) $($($(echo echo) $(echo echo)) $($(echo echo) $(echo echo))))

Last edited by Jonathan50 (May 26, 2016 01:05:24)


Not yet a Knight of the Mu Calculus.
Zro716
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

What's a pirate's favorite programming language?

You may think it be R, or the C, but his first love be Perl.

Last edited by Zro716 (May 26, 2016 06:41:59)


As a long time Scratcher, I have found new meaning to the name “Scratch”: for me, it means to “scratch that itch”, to come back again and again to realize new ideas in this toy language, even when I'm capable of creating my projects in real programming languages years later. It's a friend that helped me to pursue programming and get me to enjoy its fruit. I'm certain many others who have walked this path as well have grown fond of its importance in their life.
joefarebrother
Scratcher
500+ posts

What are some funny programming/mathematical jokes?

What's the favourite programming language of someone who can't pronounce the letter S properly?

Lisp


And it was delicious! Play TBGs! Check out my Scheme Interpreter!
;
Jonathan50
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

joefarebrother wrote:

What's the favourite programming language of someone who can't pronounce the letter S properly?

Lisp
Lithp

Not yet a Knight of the Mu Calculus.
Lythium
Scratcher
1000+ posts

What are some funny programming/mathematical jokes?

Math puns are the first sine of madness.

Powered by DjangoBB