Nomid Íkorni-Sciurus
Template programming is just another dimension
I completely disagree Template programming existed WAY before C++ and implemented better
MᏫᎻᎯᎷᎷᎬᎠ
I completely disagree Template programming existed WAY before C++ and implemented better
We are talking about regular programmer, someone with minimum java knowledge, not some eighty old man
Nomid Íkorni-Sciurus
Java has some OOP concepts, but not as complex as C++ virtual method/destructors, virtual/multiple inheritance, recursive inheritance...etc
virtual method/destructors and virtual/multiple inheritance, ec... All are old and just obsolete ways of doing OOP Nobody is ever doing the same mistake again today, hopefully they learnt from the past
MᏫᎻᎯᎷᎷᎬᎠ
maybe even to C++23
Nomid Íkorni-Sciurus
We are talking about regular programmer, someone with minimum java knowledge, not some eighty old man
I'm 23 years old, and I can assure you template programming is implemented better today and before ahah
Nomid Íkorni-Sciurus
MᏫᎻᎯᎷᎷᎬᎠ
Nomid Íkorni-Sciurus
I wish C++ to just die really but many things still run C++, so welp, I guess it won't happen soon.
MᏫᎻᎯᎷᎷᎬᎠ
Language comparison is not in the scope of this talk
Nomid Íkorni-Sciurus
Nomid Íkorni-Sciurus
Talking about Rust?😂
Not necessarily I'm talking about D, Go, Rust, any other modern language
MᏫᎻᎯᎷᎷᎬᎠ
as complex as C++ I don't refer complexity means better
maybe complexity gives great opportunity to Flexibility
Nomid Íkorni-Sciurus
Nomid Íkorni-Sciurus
because that much flexibility means confusion
Nomid Íkorni-Sciurus
dynamic_cast<> means you can turn a Table into a Penguin
Nomid Íkorni-Sciurus
void* 's existence is just pointless and error-prone
MᏫᎻᎯᎷᎷᎬᎠ
Not necessarily I'm talking about D, Go, Rust, any other modern language
Someone has implemented a pattern matching library with nearly close syntax using only some C++14 or 17 features
Nomid Íkorni-Sciurus
Accomplished with template programming
wouldn't it just better to leave it to a language which has it implemented by design
Nomid Íkorni-Sciurus
Also C++ lies about consts which is one of the worst thing ever
MᏫᎻᎯᎷᎷᎬᎠ
Oh my god... I can feel it...
https://github.com/mpark/patterns
MᏫᎻᎯᎷᎷᎬᎠ
Nomid Íkorni-Sciurus
https://github.com/mpark/patterns
Hm actually not unusable
Nomid Íkorni-Sciurus
but really, they should do something for C++ Lambdas they make my eyes bleed
Nomid Íkorni-Sciurus
I wish both Java and C++ to die ahah
Nomid Íkorni-Sciurus
like?🤔
reference state I mean the [&,=] syntax
MᏫᎻᎯᎷᎷᎬᎠ
what was it Do you mean it's an ugly syntax?
Nomid Íkorni-Sciurus
what was it Do you mean it's an ugly syntax?
yeah, this one is just subjective
MᏫᎻᎯᎷᎷᎬᎠ
I wish both Java and C++ to die ahah
Did C++ replaced C? lool it's waay from dying
Nomid Íkorni-Sciurus
if I'm ever doing native applications, it will be D unless I'll have to work with actual C++ code.
Nomid Íkorni-Sciurus
Well, D, or Rust, I still have to decide.
Gianla.
hi guys, does anyone knows a good tutorial on c++? I can find lot on the internet, i just want to know your opinion.
MᏫᎻᎯᎷᎷᎬᎠ
/report
Nomid Íkorni-Sciurus
hi guys, does anyone knows a good tutorial on c++? I can find lot on the internet, i just want to know your opinion.
https://www.tutorialspoint.com/cplusplus/cpp_overview.htm I think this one is okay for beginning
Nomid Íkorni-Sciurus
but just for beginning
Tony
Hello everyone. Can someone write a driver for the printer?
Gianla.
but just for beginning
ok if i want to advanced then?
Anonymous
Hey
Anonymous
Is anyone available?
Anonymous
I have some college level questions to solve
Anonymous
Declare and initialize an array with eight integer elements. Use the random function to initialize the values with random integers between 100 and 150 (both inclusive). Print the whole array. Now Find the 3rd largest element in array and print it. Now take the all elements of the array one by one, find the square root of the every element and update every index of the array with the square root value. Do not use extra array. Print the updated array.
Anonymous
So you want us to solve it?
Anonymous
If anyone could help I would be grateful
Anonymous
Write the program that prints the following shapes by using loops. * *
Ibrahim
Why i cant send any photo 😣😣
Ibrahim
Hi Can anyone help me im writing code for asking about the name and printing the name
Ibrahim
#include <stdio.h> char main() { char n1 ; printf("enter your name \n"); scanf("%c" , & n1 ); printf( "your name is \n" ,&n1 ); }
Anonymous
If anyone could help I would be grateful
Answer the question https://t.me/programminginc/359841
Anonymous
Yes sir
Anonymous
Anonymous
/ban
Not even a warning
Anonymous
Not even a warning
Because he just joined
Anonymous
Not even a warning
> Asking to solve an assignment/test/whatever without trying it first yourself will get you a warn or will get you BANNED. We won’t write a code for you, but we can push you forward and suggest something. > Asking for something that is in the pinned message right after joining WILL GET YOU BANNED
Anonymous
tox
Fuck off, darling
Anonymous
I love you
Roxifλsz 🇱🇹
tox
Yes. All of the admins here are required to be toxic
Ajay
hi everyone i have a question cane you solve it plz 🙏🙏 which library to use in python to use praser senser in respberry pi
olli
Well, D, or Rust, I still have to decide.
What features does D offer that C++ does not and how is it more modern?
Rabbit
Ok
Igor🇺🇦
What features does D offer that C++ does not and how is it more modern?
D has modules, contracts, compile time execution, standard package manager, ranges, slices for long time already and compilation time is significantly shorter than time for C++. Using templates doesn't feel like using another language, unit tests are part of the language
AK
#include<iostream> using namespace std; int main () { int primenumber[25]={2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97}; int guess; int totaltries=0; int guesslimit=2; bool remainingguess = true; while (guess != primenumber[] && remainingguess) { if (totaltries<=guesslimit) { cout<<"Guess the number between 1-100:"<<endl; cin>>guess; totaltries++; } else { remainingguess = false; } } if (!remainingguess) { cout<<"You lose :("; } else { cout<<"You Win :)"<<endl<<"Tries = "<<totaltries; } }
Anonymous
You could do a binary search since it is already sorted
AK
You could do a binary search since it is already sorted
Can you please explain more as I'm beginner
Vedant
Hey, is using Vim helpful? or just another burden?
klimi
Hey, is using Vim helpful? or just another burden?
It is very very nice editor.... what do you mean by helpful? i mean... probably yes
klimi
It has to offer nice features to faster edit text, yes
Anonymous
Hey, is using Vim helpful? or just another burden?
you become a system administrator for a huge company, one midnight you are sleeping but you get a call from your company , shit just went down in the chaotic way possible. You need to ssh into your server quickly and fix a few configurations etc internet is down, its raining. You have to drive over to your mainframe or whatever they are called and work on the machine directly. There's no gui, no fancy ide, no fancy editors.