Message from @meratrix

Discord ID: 391749068734595085


2017-12-17 00:24:06 UTC  

choose one

2017-12-17 00:24:07 UTC  

Was enums missing too?

2017-12-17 00:24:12 UTC  

but at least visual basic isn't html

2017-12-17 00:24:23 UTC  

no

2017-12-17 00:24:27 UTC  

enums are in C#

2017-12-17 00:24:39 UTC  

Like I said, if you don't throw *too* hard an anyeurism

2017-12-17 00:24:46 UTC  

But it sounds good to the technologically illiterate

2017-12-17 00:25:13 UTC  

it didn't have lambas, those are like the one thing in JavaScript I actually liked

2017-12-17 00:25:29 UTC  

I T W O N T S T O P

https://cdn.discordapp.com/attachments/372508286529961996/391747696228040704/bready2die.png

2017-12-17 00:25:37 UTC  

Programming in dank memes<:think_woke:378717098681171988>

2017-12-17 00:25:43 UTC  

it is dank

2017-12-17 00:25:58 UTC  

My college made me take VB and HTML before they let me into the class for magical Javascript and ASP.NET

2017-12-17 00:26:41 UTC  
2017-12-17 00:27:39 UTC  

wat is a classic

2017-12-17 00:28:29 UTC  

Yeah

2017-12-17 00:28:34 UTC  

>javascript

2017-12-17 00:28:36 UTC  

kek

2017-12-17 00:30:33 UTC  

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>

2017-12-17 00:30:40 UTC  

that was pretty good

2017-12-17 00:30:52 UTC  

you guys want to see some prolog code?

2017-12-17 00:30:56 UTC  

sure

2017-12-17 00:30:57 UTC  

sure

2017-12-17 00:34:39 UTC  

https://cdn.discordapp.com/attachments/372508286529961996/391750004760641546/Null.png

2017-12-17 00:35:20 UTC  

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);
}
}

2017-12-17 00:35:54 UTC  

^
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

2017-12-17 00:36:09 UTC  

ME🔫

2017-12-17 00:36:15 UTC  

jesus

2017-12-17 00:36:22 UTC  

Also, why not a switch statement for C++?

2017-12-17 00:36:46 UTC  

This is HelloWorld

2017-12-17 00:36:47 UTC  

>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++.

2017-12-17 00:36:52 UTC  

This is in BrainFuck

2017-12-17 00:37:04 UTC  

```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);
}```

2017-12-17 00:37:12 UTC  

@Legiondude cuz I was lazy

2017-12-17 00:37:29 UTC  

What's the tags to encapsulate code in Discord's formatting @DanielKO ?

2017-12-17 00:37:45 UTC  

\`\`\`cpp
code here
\`\`\`

2017-12-17 00:38:07 UTC  

```BrainFuck >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++. ```

2017-12-17 00:38:20 UTC  

```
cout<<"Prolog is Weird"<

2017-12-17 00:38:36 UTC  

Try "bf"

2017-12-17 00:38:49 UTC  

```bf >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++. ```

2017-12-17 00:38:51 UTC  

nope

2017-12-17 00:38:57 UTC  

probably doesn't exist for BrainFuck