Похожие чаты

I guess it's C++ unless C got templates. I wonder why

people being taught to write code like it's C, to show the pain first?

11 ответов

23 просмотра

some stupid reason i guess

educations starts from c to understand ++ better afterward

Pavel- Автор вопроса
Déjà vu
educations starts from c to understand ++ better a...

That's IMO the wrong way of learning, you first need to learn how to do simple things, then learn how to do the complex low-level stuff. Otherwise it's like teaching cooking by teaching chemistry first. There was a good talk about it on cppcon https://youtu.be/YnWhqhNdYyk

Déjà vu
educations starts from c to understand ++ better a...

That is where you are mistaken, learning C first makes is far far far harder to learn C++

Pavel- Автор вопроса
Déjà vu
depends on the final job

Well yes, if in the end you need to write in C then it makes sense

Pavel
Well yes, if in the end you need to write in C the...

no i mean the actual job like game development, designing hardwares like processors, etc. they need to devide these stuffs into separate spaces and focus on the best for the job all from the start of education

Pavel
That's IMO the wrong way of learning, you first ne...

The title is very provocative, but the bottom line is "if you want to teach c++, teach c++", and I totally agree. Although, I think it's better to start by teaching c.

Pavel- Автор вопроса
Déjà vu
no i mean the actual job like game development, de...

Again, I don't think that's the right approach. If people need to write in C++ they will either continue writing in it as if they wrote C code or they need to relearn how to write good C++ code. First is just bad, second has unneded overheads. I think learning a bit of Asm is fine (before, or after, or at the same time with C++). The problem with C and C++ that it's harder to switch context as it would be if you learn let's say Pascal and then C++. It's harder to see this border when you need to write code differently because it's another language and it has different idioms and different ways to do things.

😂😂😂, Teacher flexing on them like, "Look at me, I write hard to read C++ code, I am smart, I should work at Google, but instead I am teaching you pieces of shit" 😂😂😂😂

Похожие вопросы

Обсуждают сегодня

а через ESC-код ?
Alexey Kulakov
29
30500 за редактор? )
Владимир
47
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
any reference of this implementation?
BitBuddha
29
Ⓐrtto, [4/23/24 7:02 PM] Please explain more fully how it is not working exactly, and what are the steps you are taking, and what error messages come or what happens. Ⓐrtto, ...
Ezza Kezza
2
sounds like people have lost their kaspa on tradeogre... does this mean tradeogre not trustworthy?
Ezza Kezza
15
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
So much speculation in the last week. So much volatility in price. This is because Hedera has a GC that isn't using the network it's governing. Why aren't people asking why a...
Summit Seeker R
9
Карта сайта