Message from @dunce
Discord ID: 257466323724926977
Stalin and Mao > Hitler
Me > everyone
<
I hate duck typing, therefore, I hate python
Thanks frenchie
well at least now you have "pip"
"easy_install" was so shitty that I wanted to rape the guy who made that tool
wat
wut wat ?
too bad miller isn't there
```python
class Duck:
def quack(self):
print("Quack, quack!");
def fly(self):
print("Flap, Flap!");
class Person:
def quack(self):
print("I'm Quackin'!");
def fly(self):
print("I'm Flyin'!");
def in_the_forest(mallard):
mallard.quack()
mallard.fly()
in_the_forest(Duck())
in_the_forest(Person())
```
he loves quacks
Get your duck typing out of here
meh dune is the only one who get my jokes 😦
I bet you prefer EAFP over LBYL
wow
I went there
dude, do I need to remember you that I mostly do C ?
I really dislike Python
I think I even prefer PHP
😦
then pull my 3rd one, at least i'll have fun too
No pls
meh
I tried
I had a function composition question on a maths paper last week
Reminded me of haskell
well, I like composition but mostly in non oriented language like C
what was your question ?
Gimme a sec to remember
I do use it a bit in other language like C++, haskell, ocaml, etc but I use it extensively in C
it's much more clear than trying to reinvent the wheel and try to simulate OOP or worse, a big old monolithic program
reminds me a student had an intersting question about ADT implementation in C
It was something like f(x) = 2x - 3
g(x) = x^2 + 2
Prove gf(x) = 4x^2 - 12x + 11
And then another part was write fg(x) as a single function
oh that's basic function multiplication
good old times
hope you aced that stuff 😃
Yeah