• 5 Posts
  • 22 Comments
Joined 2 years ago
cake
Cake day: December 5th, 2023

help-circle
  • It works short term. If you have a deadline tomorrow by all means.

    Long term you need to be aware of not just the code but the theory behind the code. You can make it work if you’re promoting what you need and read the result, understand it and test it but if we pure vibe coding is probably too much. How are you gonna solve problems when you don’t fully understand how things work?

    Another thing, a lot of AI generated code solves the problem in the most obvious often bad way. For example I asked the AI for help with an ORM limitation I was running into and so many times the code it suggested was just query the db, then filter in code afterwards

















  • Hmm. Well I tried to learn C++ as my first programming language when I was 12 so that’s probably the reason lol. I was just bad at everything at that time. I moved onto Java next, but maybe I should revisit C++.

    But if I had to name specifics these come to mind right now:

    • Using code across multiple files or libraries is really annoying. The preprocessor directives, I kinda get them but there’s always something that breaks and I don’t understand why. Also why isn’t there a package manager or something like that? Hmm maybe there is nowadays but I don’t know if there was back then
    • Still don’t know what a link error is or why it would randomly show up and then disappear if I restart visual studio
    • I know this is a meme but long hard to understand error messages in the case of C++ and no useful error messages at all in C
    • In C did you know that the order of items in a struct matters? I didn’t until I spent an hour debugging a segfault.
    • Obviously C doesn’t have strings. Accomplishing even the simplest things in C feels really hard. Like you’re on your own.

    I’m very sure all of these can be summed up as me being bad at the languages. Skill issue etc. and it’s true. I am bad at both.

    But the point is there’s a lot of things I don’t understand and that seem unintuitive to me. So it’s not fun, so I don’t use it. If you gave me a programming problem for fun and told me choose your language I would never choose C++ and certainly not C. I’d use Python, JavaScript or Java because they feel more fun to use and I can see progress faster. Same for my new projects. I’ve never tried to make anything more complicated than a command line program in C++ or C.

    At the same time I understand that higher level languages abstract a lot of things away from you and I really do wanna get better at understanding those concepts.

    Anyway thanks for attending my therapy session.


  • Thanks for the detailed write up.

    One more reason I might not have mentioned is that Rust is low level and has a good developer experience. At least I heard. The whole compiler is your best friend thing.

    Idk I guess I’m hoping it will teach me those concepts better without making me frustrated in the way C++ and C did. Those feel like they’re excellent languages that were no doubt revolutionary in their time but are now lumbered with legacy and unintuitive things. Maybe it’s false hope. Rust certainly looks intimidating but everyone says the tools and docs are amazing.

    I’ve decided I’m gonna learn it for sure. Whether I rewrite the project or not I’ll decide later.



  • It doesn’t really need it. I’m sorry for giving the impression that it’s some performance critical application lol.

    It’s just a simple web app backend with a db. Oh and the front end desktop version I wanna build will use tauri (because I hate the thought of bundling a browser) so that’s another reason to learn rust.

    I guess I just kinda want to make things minimal in the resources they use. Because that’s just neat :D