• 1 Post
  • 70 Comments
Joined 1 year ago
cake
Cake day: June 3rd, 2025

help-circle
  • I’ve been a long time believer that some problems are better solved via OOP, others through functional programming. The perfect language would be a successful blend of the two.

    Many popular OOP languages are horribly lacking on FP or it looks like an eyesore (golang, python, etc). …and FP languages trying to do OOP are kinda awkwards (see common-lisp).

    I thought Crystal Lang (a statically type checked dialect of Ruby) was going to be the “perfect language”… but the compile time performance and the lack of 3rd party libraries (like an aws SDK) really made it hard to use.

    Hearing what you said about Rust has renewed my hope.

    That said, I did notice that features like Coroutines have been “experimental” for nearly 9 years.

    I hope I’m missing something obvious, but how would you create any sort of heavy-lifting, long running, multi-session daemon/application without having some sort of asynchronous mechanism that goes beyond threading (which is limited to the number of cores the host machine is running).

    edit: cleaned up a few thoughts (prematurely hit submit)



  • C++ is useful for learning object oriented programming: Describing what really happens in constructors and destructors, the pros/cons of reference counting and how it actually works (using std::unique_ptr)

    These are things that most modern languages try to hide/abstract away, but the underlying problems and limitations never go away, but with C++ you’ll have a better understanding of why they happen.

    However, if you go down the rabbit hole of Template Metaprogramming, I agree with the original post: it takes decades to learn and really only useful exploitable in C++.









  • Has anyone found an effective way to pair-up and “learn” the syntax faster/better compared to not using AI?

    I’ve written a lot of code in the past, but recently started doing more with golang… and have been using AI for an assist, but at the end of the day (and enough reiterations) - it creates readable and maintainable code. But (unfortunately), I don’t think I could rewrite it.

    I was contemplating seeing how I could change my workflow, so I’d write the code, but AI would offer fast guidance.