(Also are Programming socks memes welcome here?)

    • boonhet@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      6 days ago

      I thought the books were for your shelf tbh. You put one for each language you claim proficiency in.

      It’s cool to have niche older books though. My friend has a programming manual in Estonian from either the very late soviet era that includes BASIC, Pascal and FORTRAN. Though apparently you can still buy it online. There’s one copy left at an online bookstore.

  • stupidcasey@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    Quite frankly I wouldn’t recommend learning C these days except for maintaining, there are better languages e.g Rust, Go, Zig, Swift. And the Eu and US are cracking down on unsafe Code including open source.

  • bluGill@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    If you need to learn C, at least use the first edition of the book - the one without the ANSI additions is much smaller.

    I’'ve actually never read the second/and edition so I can’t say if it is good or not. I can tell you that the first edition still has a proud space on my bookshielf though the acid paper is starting to take a toll and I suspect it won’t be long and I’ll be needing a reprint.

    • zerofk@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      7 days ago

      It’s also a very good introduction to programming, and just a good read. Probably the best book about programming I’ve ever read.

      • barsoap@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        6 days ago

        My prof called K&R C “Knall und Rauch C”, “bang and smoke C”. Also: C lattice fence.

    • PowerfulTurtle@lemmy.caOP
      link
      fedilink
      arrow-up
      0
      ·
      8 days ago

      I haven’t read either, honestly Rust is so much better than C or C++ and if I were going to learn a low level language I’d probably go with that instead. Currently I only do Python and a tiny bit of Javascript.

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 days ago

        This Rust talk sounds exactly like Java in the 2000. It’s the language of the future!! Rust is good though but only time will tell if rust will replace C/C++ which I doubt.

        • UpperBroccoli@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          0
          ·
          6 days ago

          As a long time C/C++ developer, I think it has a lot of really great ideas. The one thing preventing me from using it a lot more is that there is no stable ABI that would allow to use shared libraries in Rust - everything is statically linked, and if I use the same crates in a number of programs, the same code exists in each of these programs. That is not really a good thing whne you try to develop for a system with very limited space and where program load times make a difference, such as for certain embedded platforms.

          But honestly, Rust support in the Linux kernel? Java never got that far, nor any other language (apart from C, obviously).

          • Valmond@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            6 days ago

            C/C++ oldtimer myself, yep Rust is basically C++ template metaprogramming. So Rust does this thing way better, but as you says it does other things less good. Exactly like Java with the facility to run on different platforms (well, sort of) for example.

            C/C++ is hard because it’s the ultimate multi tool!

            I use Python BTW when I don’t need the fancy stuff, maybe the death of C/C++ will be that of a thousand cuts, one specialised language for each specific C/C++ use …

      • Shanmugha@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        7 days ago

        I dare assume you get downvoted for liking Rust, so take my upvote for balance. We differ about what we think of the language, but this kind of angry downvoting is plain ridiculous

  • lordnikon@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 days ago

    I just wish they would just admit it already and good programmers wear compression socks. Helps with blood flow and reduces issues with sitting. It you want a nice pattern to each their own.