Anonymous
template metaprogramming is just a way of writting macros
Anonymous
i love good design and i do whatever to achieve them
BinaryByter
i love good design and i do whatever to achieve them
appearently you don't else you wouldn't be in this bind ¯\_(ツ)_/¯
Anonymous
BinaryByter
then you would not be using C/C++
C++ is relatively well designed lol
Anonymous
both power and design
Anonymous
C++ is relatively well designed lol
it is too complex for prototyping and doing proper things it is shit for
Anonymous
personally i prefer C to C++
Anonymous
but after i learned about haskell
Anonymous
i prefer haskell for most things and C/C++ for speedups
olli
@sarapnst unsure whether it works for you template <class T> struct F { template <class U = T, typename std::enable_if_t<std::is_same_v<T, U> && std::is_default_constructible_v<T>, int> = 0> void special() {} void general() {} };
Anonymous
sometimes go into asm
Anonymous
then you would not be using C/C++
but C++ has the power to design almost anything
Anonymous
it sucks at any mathematical operations
Anonymous
that is why physicists use fortran/mathematica still
BinaryByter
I mean
BinaryByter
mathematica is badass
Anonymous
it is poor for high level designs
BinaryByter
it has a completely different usecase, man
Anonymous
it is ok for optimizing the design once you built it
Anonymous
olli
it is too complex for prototyping and doing proper things it is shit for
I don't agree there, at least with the second part. I know you can do proper things using C++
BinaryByter
not for prototyping at all
man, you are nothing but a meme man
Anonymous
as for proper just look at caffe
Anonymous
vs mathematica
olli
not for prototyping at all
there was an 'and' in your sentence, hence i said second part
Anonymous
caffe has issues computing matrix derivatives
Anonymous
this was designed in C++
Anonymous
mathematica has much less issue and it was designed in java
Anonymous
granted i hate java as well
BinaryByter
🤦‍♂️
BinaryByter
savage
Anonymous
LOL
Anonymous
but is this off topic?
Anonymous
seems pretty related to C++ use cases
olli
granted i hate java as well
how is this related to C++ ?
olli
this is a personal opinion, that no one asks for and has not contributed any meaninful knowledge
Anonymous
which is just an extension of the previous message
olli
And why exactly was it needed!? Well whatsoever, if you feel C++ is to complex for you, then better use Java/Haskell/... ¯\_(ツ)_/¯
Anonymous
but the main message if you want something done accurately you do not want to use C++
BinaryByter
that burn
olli
no i said it is too complex for prototyping
"and doing proper things it is shit for"
BinaryByter
Anonymous
"and doing proper things it is shit for"
yep it is if you want accuracy in mathematical calculations you cannot really use C++
Anonymous
Have fun getting employed :D
had quite a few jobs
Anonymous
a lot were in C and C++
BinaryByter
yep it is if you want accuracy in mathematical calculations you cannot really use C++
/warn doesn't like C++ even though he is in a C++ group
BinaryByter
a lot were in C and C++
poor your employer
klimi
Oh
Anonymous
poor your employer
actually i did very good code for them and wrote majority of their robotic application
Anonymous
the issue i had with those is it became too boring
Anonymous
i personally prefer C to C++ as you do not have to worry so much about heap space
BinaryByter
olli
actually i did very good code for them and wrote majority of their robotic application
You know, 99% of code you posted is full of anti-patterns and UB... It makes it really hard to believe...
Anonymous
other people reviewed
BinaryByter
Anonymous
the interns?
no the grad students who were working for the company as CTO
BinaryByter
okay
BinaryByter
because i am a troll a lot of the time
/warn admits to be a troll
Anonymous
and this one guy who worked in robotics C++ for 20 years
BinaryByter
and this one guy who worked in robotics C++ for 20 years
>robotics >talks about good code
Anonymous
and it's worse
Anonymous
but much harder to set that up
Anonymous
C++ likes to do that