this post was submitted on 23 Jul 2023
38 points (97.5% liked)

C & C++

891 readers
3 users here now

founded 5 years ago
MODERATORS
 
top 10 comments
sorted by: hot top controversial new old
[–] jormaig@programming.dev 14 points 1 year ago (2 children)

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 (1 children)

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

[–] jormaig@programming.dev 8 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 2 points 1 year ago

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

[–] JazzAlien@lemm.ee -4 points 1 year ago (2 children)

That's just a shit class. Not all c++ courses are like this.

[–] glad_cat@lemmy.sdf.org 3 points 1 year ago (1 children)

I hope it’s an old course because a lot of companies are studying whether it’s worth using C++23 now.

[–] glibg10b@lemmy.ml 3 points 1 year ago

The semester starts tomorrow. The requirement was C++11 for last semester's course

[–] passably9@lemmy.world 0 points 1 year ago (1 children)

We used to use TurboC++ emulated in DOSBox to be able to run on Windows 7. That's 2 years back in high school

[–] glibg10b@lemmy.ml 1 points 1 year ago (1 children)

At least you used C++. We used Delphi

[–] passably9@lemmy.world -1 points 1 year ago

There's always someone better than you and worse than you