46
submitted 1 year ago by glibg10b@lemmy.ml to c/cpp@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] jormaig@programming.dev 18 points 1 year ago

Having worked as a TA. These poor people have some pipeline running your code using something like GCC 4.8 or older and changing the pipeline is too much work.

Yeah, you can do many tricks with C++11 (and even more with C++17) and it's nicer to write. But, the algorithms should be the same which is what matters for the course.

[-] magic_lobster_party@kbin.social 6 points 1 year ago

Smart pointers is integral to modern C++. You should rarely rely on raw pointers nowadays. They’re just learning outdated practices.

[-] jormaig@programming.dev 9 points 1 year ago

True. Real c++ development should rely on smart pointers as much as possible. Having said that, a student should still learn what a pointer is and how to manually manage it to understand better what the "smart" part of smart pointers does.

From the other post from OP, it doesn't look like this is the purpose of the assignment. So, I think it's more of a case of using old software that cannot handle c++11.

[-] glibg10b@lemmy.ml 6 points 1 year ago

Yeah they're using an in-house thing called FitchFork:

[-] tokyorock@beehaw.org 0 points 1 year ago* (last edited 1 year ago)
this post was submitted on 23 Jul 2023
46 points (96.0% liked)

C & C++

1 readers
3 users here now

founded 5 years ago
MODERATORS