Timeline for Why do (all) professors teach C++ 11?
Current License: CC BY-SA 4.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 8, 2023 at 19:25 | comment | added | Fureeish | I teach C++20 (I will start teaching C++23 as soon as all major compilers start supporting all the major features of it) with CMake as the (meta) build system. This is not the first programming course for my students. It's either 2nd or 3rd. Since we mainly teach Java, I chose to teach C++20 focusing on features that are relevant to broadly classified "business solutions". It not only enables me to use new, cool features to introduce C++ and then go a little lower in levels of abstractions, but it also reinforces students' understanding of higher level concepts present in languages like Java. | |
Nov 4, 2023 at 22:44 | answer | added | JVApen | timeline score: 3 | |
May 29, 2023 at 19:58 | vote | accept | I_throw_but_dont_catch | ||
May 29, 2023 at 19:32 | answer | added | Victor Eijkhout | timeline score: 7 | |
May 29, 2023 at 15:52 | answer | added | njuffa | timeline score: 5 | |
May 28, 2023 at 9:43 | answer | added | Jack Aidley | timeline score: 9 | |
May 27, 2023 at 20:07 | comment | added | I_throw_but_dont_catch |
I know the use of STL is discouraged due to learning purposes, but here are some I find useful std::atomic_ref , std::unordered_map (erase_if and new operators), std::span , three-way operator, self-explanatory
|
|
May 27, 2023 at 19:47 | comment | added | Alexei Levenkov | Can you please clarify what feature(s) you believe would significantly help with explaining concepts of programming (like "sorting algorithms and complexity" or "recursion and memoization"). You can start with lists like en.cppreference.com/w/cpp/20 to pick some that would help every single student with that. | |
May 27, 2023 at 16:54 | comment | added | I_throw_but_dont_catch |
I understand why C++ would be the preferred language to start with (pointers, manual allocation, OOP,...), and transitioning to another language such as Python or JS might be easier. But why not teach the latest version?
|
|
May 27, 2023 at 12:00 | comment | added | ctrl-alt-delor |
The same answer for 11 as for C : out of touch, been told to by people that are out of touch. C is not a good teaching language, and has not been a good production language for most cases for years. Now we have rust and go , it may not be the best for anything.
|
|
May 26, 2023 at 15:46 | comment | added | I_throw_but_dont_catch |
But what strikes me as shocking is the number of times I saw comments like "This is the Java way of C++ programming" referring to the new keyword. My professor in my Data Structures class was in the industry for 17 years and I genuinely thought she was a great professor, but yeah as you mentioned some professors don't catch up on the material...Apparently, she never worked with C++ since she did front-end dev.
|
|
May 26, 2023 at 15:42 | comment | added | I_throw_but_dont_catch | I must say I have had some pretty "uncomfortable" experiences on SO in particular, where I would post a good question and most of the responses would be "just use this... or just use and STL container, and so on" I understand that due to learning purposes professors tend not to use the STL since, well everyone can google the documentation... | |
May 26, 2023 at 8:56 | comment | added | A.bakker | Something i noticed while teaching, is that teachers often don't catch up with what they teach. So they only teach what they learned themselves in college. | |
May 26, 2023 at 7:31 | comment | added | Rushi | The bleeding edge can cause some... well you know... bleeding!! More seriously: thanks for letting me know that 11 is the common choice. To me it's almost axiomatic that jumping at the latest is likely a bad idea. [If I've a choice I prefer teaching with python 2 over 3] | |
May 26, 2023 at 6:49 | history | edited | I_throw_but_dont_catch | CC BY-SA 4.0 |
fixed typos
|
S May 26, 2023 at 6:47 | review | First questions | |||
May 26, 2023 at 13:10 | |||||
S May 26, 2023 at 6:47 | history | asked | I_throw_but_dont_catch | CC BY-SA 4.0 |