I really like simple software that is built for a specific task which it then does extraordinary with a simple to understand codebase. Similar to the philosophy of suckless.org.

What are your favourite programs that “suck less”?

  • Bjarne@feddit.orgOP
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    By the way what do you dislike C++? I’ve been getting into lower levels of programming as of late and were unsure about the language to pick. Is it just the OOP stuff?

    • trevor (he/they)@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      Thanks for asking. It’s partly OOP, but more than that, C++ is just rife with footguns and is basically unreadable for me.

      I think C is much more readable and I find imperative/procedural programming to be much more delightful and readable.

      Rust is my absolute favorite though, because it removes the footguns of most lower-level langs while being just as performant. The only trade-off is that you need to understand the borrow checker, but working with it becomes substantially easier over time and saves an ungodly amount of headaches. You can also write something that very closely approximates OOP, without the most of the footguns (like inheritance, until you get into more advanced stuff like trait objects, anyway).

      • Bjarne@feddit.orgOP
        link
        fedilink
        arrow-up
        2
        ·
        19 hours ago

        Trying things out with an ESP32 and i might opt for Rust after reading what you have wrote. There also seems to be enough resources to do that. I started using C++ as the Arduino IDE has decided that for me more or less. I suspect setting up a local development environment is also easier with Rust. (?!) I at least had problem Setting up C++ in VSCodium.

        Don’t like OOP as the next guy but sometimes its the right tool i feel like and i do have that case right now. So its great that Rust seems to have that as well to some extent. Actually as Rust is so much more readable i kinda expected to give up on some control but that doesn’t seem to be the case. :)