Message from @meratrix
Discord ID: 391750381891354625
Like I said, if you don't throw *too* hard an anyeurism
But it sounds good to the technologically illiterate
it didn't have lambas, those are like the one thing in JavaScript I actually liked
I T W O N T S T O P
Programming in dank memes<:think_woke:378717098681171988>
it is dank
My college made me take VB and HTML before they let me into the class for magical Javascript and ASP.NET
https://www.destroyallsoftware.com/talks/wat Watch this lol
wat is a classic
Yeah
>javascript
kek
Basically the class was for making basic websites from scratch in ASP.NET, so we spent 2/3rds of it going over the basics of HTML and Javascript <:what:382980756139409409>
that was pretty good
you guys want to see some prolog code?
sure
sure
so given:
int foo(int x, int y)
{
if (y <= 0)
{
return x;
}
if (x <= 0)
{
return y;
}
if (x >= y)
{
return x+foo(x - 3, y);
}
if (x < y)
{
return y+foo(x, y - 2);
}
}
^
above code is C++
foo(X,Y,Z) :-
(Y=0;Y<0),
Z is X, !.
foo(X,Y,Z) :-
(X<0;X=0),
Z is Y, !.
foo(X,Y,Z) :-
(X=Y;X>Y),
K is X-3,
foo(K,Y,S),
Z is S + X.
foo(X,Y,Z) :-
X
jesus
Also, why not a switch statement for C++?
This is HelloWorld
>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++.
This is in BrainFuck
```cpp
int foo(int x, int y)
{
if (y <= 0)
return x;
if (x <= 0)
return y;
if (x >= y)
return x+foo(x - 3, y);
else
return y+foo(x, y - 2);
}```
@Legiondude cuz I was lazy
What's the tags to encapsulate code in Discord's formatting @DanielKO ?
\`\`\`cpp
code here
\`\`\`
```BrainFuck >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++. ```
```
cout<<"Prolog is Weird"<
Try "bf"
```bf >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++. ```
nope
probably doesn't exist for BrainFuck
it is just a meme language
\`\`\`bf
code here, new line you faggot
\`\`\`
```bf
>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++.
```
shit
it does work