107
Favourite software that "sucks less"
(feddit.org)
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Community icon from opensource.org, but we are not affiliated with them.
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).
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. :)