David
But I use Delphi for 20 years .😂
Anonymous
not c/c++
/warn statement that always false
Nomid Íkorni-Sciurus
wat xD
Ajay
/warn
David
I'm telling the truth, c++ is very bloated now, you have to accept this fact and improve it.
David
Don't warn me.
Anonymous
I'm telling the truth, c++ is very bloated now, you have to accept this fact and improve it.
Your first statement is that C and C++ have no future. This is not truth, because: 1) You use software which is written in C and C++ everyday — starting with OS, embedded devices (such as payment terminals at any store), ending with search engines, maps, etc 2) Some software even if it wasn't written in C or C++, runs with a help of C++ — JavaScript and Python interpreters are written in C/C++. Rust, C# Mono, Kotlin Native and other compilers use LLVM to produce efficient code (LLVM written in C++) Now about second message: 1) C++ is bloated — ok, but no one forces you to use the WHOLE C++ — you can use a subset of C++ you are comfortable with. 2) C++ is improved every 3 years — ISO committee releases new standards of C++ which make it more modern and safe And yeah, every language has its issues
NXiss7
NXiss7
Any "serious" thing is written in C/C++. Libs like Tensorflow are written in C++ too they just have Python bindings for easy data usage etc.
Anonymous
We are now discussing "Which development language will be good". According to the current optimization and improvement of C/C ++, the effect is not obvious. A lot of C / C ++ pitfalls have not been resolved. For example, the current C/C++ syntax is very bad, not as elegant and familiar as C#. Like Lambda expressions, don't you find it ugly?
There are no other way to do lambdas in C++ 1) implicit captures are error-prone 2) even if there were implicit captures, how would you capture it? By value, by reference, or move it to lambda? Again, your statements work against you — you do not understand C++
Anonymous
C# lambdas are easier, yes But it is because of language semantics
David
I have also used the c / c ++ language for many years, but we have to face the shortcomings of c / c ++.
Anonymous
C# lambdas are easier, yes But it is because of language semantics
C++ has different semantics which does not allow this lambda syntax
Anonymous
Rose who created you🤔
Dima
Lol
David
C++ has different semantics which does not allow this lambda syntax
I suggest everyone to read this book (Matthew Wilson's book, Imperfect C++, published by Addison-Wesley in 2004.). After reading it, think carefully: The C / C ++ Standards Association has made several changes to the C / C ++ language over the years. Then after each modification, C / C ++ was in trouble, and many people couldn't learn it at all, and it was too difficult.
MᏫᎻᎯᎷᎷᎬᎠ
> 2004 Are you serious right now?
Well Effective C++ was before 2011
David
YES, I am very serious.
MᏫᎻᎯᎷᎷᎬᎠ
And still recommended
MᏫᎻᎯᎷᎷᎬᎠ
It's C++20 And bjarne didn't even publish a book about C++17
MᏫᎻᎯᎷᎷᎬᎠ
They are just books Novice needs to know basics and all of these new features can be gathered in practice days
David
I don't think that C ++ 20 will make C / C ++ better, but for many people it will be worse.
Anonymous
C'mon this argument should be done with already!
Anonymous
Dima
because I have my own coroutines
Dima
only good feature is modules though
Dima
coronaroutines lmao
Dima
bruh
MᏫᎻᎯᎷᎷᎬᎠ
C++23 will be the real improvement of C++
MᏫᎻᎯᎷᎷᎬᎠ
Lol
MᏫᎻᎯᎷᎷᎬᎠ
Reflection Modular std Pattern matching Epochs (maybe)
MᏫᎻᎯᎷᎷᎬᎠ
This is totally enough
Dima
please, no, please no reflection
MᏫᎻᎯᎷᎷᎬᎠ
Wtf?
Dima
is it c#?
MᏫᎻᎯᎷᎷᎬᎠ
Do you rather stuck with this endless stupid macros?
MᏫᎻᎯᎷᎷᎬᎠ
Or move on?
Anonymous
Reflection Modular std Pattern matching Epochs (maybe)
Pattern matching in C++? Can you give a link to the proposal?
Anonymous
please, no, please no reflection
Compile-time reflection is our liberation
MᏫᎻᎯᎷᎷᎬᎠ
Pattern matching in C++? Can you give a link to the proposal?
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1371r1.pdf
MᏫᎻᎯᎷᎷᎬᎠ
It's really wonderful
Anonymous
do you think it will be in C++23?
MᏫᎻᎯᎷᎷᎬᎠ
do you think it will be in C++23?
There is already a library for pattern matching for C++17 But it's just in the level a library Not a core part of the language
MᏫᎻᎯᎷᎷᎬᎠ
https://github.com/mpark/patterns?files=1
MᏫᎻᎯᎷᎷᎬᎠ
The creator is a software engineer (I think) from Facebook
Francisco
I really want pattern matching in the language
NXiss7
I have also used the c / c ++ language for many years, but we have to face the shortcomings of c / c ++.
Their purpose of uses are different. The moment you leave memory management off to language C++ looks just like other languages. The "shortcomings" you mention are all (well almost always) consequences of managing memory by yourself.
MᏫᎻᎯᎷᎷᎬᎠ
I really want pattern matching in the language
Yeah Very reliefing I once had to implement a simple xml parser library, but when I hit the part where I had to deal with std::variant and std::visit, I cancelled the show I mean It's pain
Francisco
I don't know how, but they should be, as everything around it is really convoluted (like std::bind when tallking about lambdas)
MᏫᎻᎯᎷᎷᎬᎠ
I also think variant and visit should be part of the language itself,and not a library addition
Really? Why is that? They'll just make the language more complex Unless std::variant replaced enum
NXiss7
bruh
Yeah, and compiler support I don't know if latest Android compiler supports C++ 17 and don't affect me much. I stick with C++ 11 which is well implemented and "works everywhere".
Francisco
Really? Why is that? They'll just make the language more complex Unless std::variant replaced enum
Do you think adding lambdas to the language is adding complexity, instead of getting stuck with std::bind? That's my point. I don't how, but it can help
MᏫᎻᎯᎷᎷᎬᎠ
Hmm You got a point
Рома
Help plz !!! How I can initialize two dimensional array by another one void GausMethod(double Matrix[SIZE][SIZE], double X[SIZE]) { double dTempMatrix[SIZE][SIZE]; dTempMatrix = Matrix; FindTheHighestNumber(Matrix, X); PrintMatrix(Matrix, X); }
Рома
Or initialize each element of an array separately?
Nader Should
Hi Any one who has digital electronic books , please , connect with me .🌹🌹🌹
Nader Should
Ahmad Mirza
hai
14•08
You can’t complete it
Sure he can't
Dima
14•08
Yeah no one perfect in programming but we attain excellence