• LavenderDay3544@lemmy.world
    link
    fedilink
    arrow-up
    21
    arrow-down
    2
    ·
    edit-2
    11 days ago

    I hate that schools basically teach students to over use classes for everything especially by using Java as a teaching language and then they get into the real world or grad school and we have to unteach them those terrible habits.

    I’m so glad a lot of the newer languages (Rust, Go, Zig, C3, V) don’t have classes in them at all.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      4
      ·
      11 days ago

      Tbh if the average grad school student overused object oriented stuff they would produce vastly better code than the status quo.

        • Eager Eagle@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          edit-2
          10 days ago

          I’ve seen plenty of grad student code, abundance of OOP concepts was never an issue. Complete lack of any structure on the other hand…

          • Kache@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            3 days ago

            Bad abstraction is worse than no abstraction

            If the code is going to poorly organized, I’d prefer it to just be one single gigantic standalone script than some wrong and misleading arrangement of objects or functions that adds more complexity than they solve

  • HStone32@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    11 days ago

    I’m currently taking the very last CS class my major requires. I can’t wait to leave OOP behind and focus on hardware completely.