Talula
I counter everything he said by giving actual proof.
Talula
So do I
You just talked and didn't give any proof.
Talula
claiming is not proof of anything.
Ludovic 'Archivist'
As far I know I showed you an actual functional monad
Parra
if you say C++ is OO then you need to learn C++ in deep
Parra
C++ is multiparadigm
Ludovic 'Archivist'
You just talked and didn't give any proof.
std::optional and std::variant and std::visit
Ludovic 'Archivist'
M O N A D S
Parra
check boost
Parra
boost hana for example
Parra
and then check if you see any OO there
Talula
std::optional and std::variant and std::visit
Do not prove anything at all... what it has to do with Pattern matching... I hope you know what it is.
Parra
and I think boost isn't wrong because c++ std usually adopts what they do
Parra
all containers use generics a lot for example
Ludovic 'Archivist'
Do not prove anything at all... what it has to do with Pattern matching... I hope you know what it is.
Girl, I do not write only C++. Want a simple proof? C++ has std::function, aka a first class type to represent a function which is the only true requirement to be a functional programming language
Parra
if you use class it doesn't mean you are doing OO exclusively
Ludovic 'Archivist'
It has support for dependent types as part of the template metaprogramming language
Ludovic 'Archivist'
Saying it doesn't have these features is living in 1998
Ludovic 'Archivist'
BinaryByter
Ludovic, you are wasting your time debating with stupid strangers. Lets code the clinl website instead
Parra
haha
BinaryByter
Could you please be bit respectful?
okay, mrs "c++ is OOP only"
BinaryByter
^
you didn't stop though :(
Parra
😅
Talula
okay, mrs "c++ is OOP only"
You really are a very rude person...
BinaryByter
You really are a very rude person...
you have had about half a year to observe me
BinaryByter
:D
BinaryByter
(yes, I am 😉)
Ludovic 'Archivist'
Do not prove anything at all... what it has to do with Pattern matching... I hope you know what it is.
Also, if you want to write pure functional code, C++ offers you 3 keywords which are const constexpr mutable to do just that
Talula
Also, if you want to write pure functional code, C++ offers you 3 keywords which are const constexpr mutable to do just that
I had same argument with people who do write purely funcational code... maybe you should talk to them.
Parra
even Stroustrup doesn't recommend pure OO
Talula
even Stroustrup doesn't recommend pure OO
You know you should really stop.
Ludovic 'Archivist'
I had same argument with people who do write purely funcational code... maybe you should talk to them.
So did I the conclusion was: yes C++ is functional but most people use the non functional bits of it making most library non functional
Ludovic 'Archivist'
To which my answer was "Libraries? What's that? Can you eat it?"
Talula
So did I the conclusion was: yes C++ is functional but most people use the non functional bits of it making most library non functional
Frankly speaking I lost to them... I was kicked in the garbage can they proved to me that it's not and they gave me same things I gave you...
Talula
To which my answer was "Libraries? What's that? Can you eat it?"
What has libraries got to do with Functional programming?
Talula
Ludovic 'Archivist'
What has libraries got to do with Functional programming?
They said you cannot write functional code in C++ and their last argument to me showing them currying and such as well as template based dependent types was "Yeah but you can't use that with libraries because very few people don't do OOP"
Ludovic 'Archivist'
Also you used that argument on the topic of GC
Talula
They told me something that C++ does not stop you from making mistakes that are against the rules of functional programming...
Ludovic 'Archivist'
For example by using const and dependent types
Ludovic 'Archivist'
If you don't, yes, you are getting out of safety, the same happens when you link a C library in a Haskell app
Ludovic 'Archivist'
What do you think the const keyword was made for?
Talula
hmm... I told them the same thing... problem is always when you are one and they are many.
Ludovic 'Archivist'
hmm... I told them the same thing... problem is always when you are one and they are many.
A French comedian used to say that it is not because idiots are many that they are right
Mihail
What do you mean?
Ah you don't get the joke? I'll wait
Talula
Ah you don't get the joke? I'll wait
I read it again but still didn't get it 😞
Mihail
Well look at the date and read it once again
Mihail
Seems like my jokes are just too good
Ludovic 'Archivist'
Talula
Well look at the date and read it once again
I do not see any problem with the date or time :(
Talula
It says April 06,2019 10:39:32 PM
Anonymous
C++m
Anonymous
?
Anonymous
C in Visual Stduio Code
Mihail
/warn no pictures of screens
Anonymous
C in Visual Stduio Code
Que estas haciendo?
Mihail
Mihail
also you need to tell us more if you want anyone to help you
Anonymous
C in Visual Stduio Code
W hat are yo u doing?
Anonymous
Ludovic 'Archivist'
It says April 06,2019 10:39:32 PM
(exactly, 6days ago was april's 1rst)
Anonymous
😘
MᏫᎻᎯᎷᎷᎬᎠ
Dafaq
Wen
Use cpp.sh .. nice online compiler.
Wen
Supports C++98 until C++14. I think C++17 is not yet supported.
Dima
Mfw I am still using cxx98
Dima
Dima