Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
glibg10b ( glibg10b@lemmy.ml )  to C & C++@lemmy.ml · 3 years ago

University is great

lemmy.ml

message-square
8
link
fedilink
26

University is great

lemmy.ml

glibg10b ( glibg10b@lemmy.ml )  to C & C++@lemmy.ml · 3 years ago
message-square
8
link
fedilink
alert-triangle
You must log in or register to comment.
  • jormaig ( jormaig@programming.dev ) 
    link
    fedilink
    arrow-up
    12
    ·
    3 years 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 ( magic_lobster_party@kbin.social ) 
      link
      fedilink
      arrow-up
      6
      ·
      3 years ago

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

      • jormaig ( jormaig@programming.dev ) 
        link
        fedilink
        arrow-up
        9
        ·
        3 years 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 ( glibg10b@lemmy.ml ) OP
      link
      fedilink
      arrow-up
      5
      ·
      3 years ago

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

    • tokyorock ( tokyorock@beehaw.org ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      .

  • JazzAlien ( JazzAlien@lemm.ee ) 
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

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

    • glad_cat ( glad_cat@lemmy.sdf.org ) 
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

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

      • glibg10b ( glibg10b@lemmy.ml ) OP
        link
        fedilink
        arrow-up
        3
        ·
        3 years ago

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

C & C++@lemmy.ml

cpp@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !cpp@lemmy.ml
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 2 users / week
  • 2 users / month
  • 2 users / 6 months
  • 20 local subscribers
  • 1.07K subscribers
  • 90 Posts
  • 42 Comments
  • Modlog
  • mods:
  • SourceCode ( SourceCode@lemmy.ml ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code