Look forward to the day
droning_in_my_ears
The name is Mr. T. First name is Mr, middle name is that period, last name is T.
— Mr. T
Some forums are still around, but they have fewer active users than your average social media community. I'm thinking of the competitive scene of an old game I used to play. Those guys still use the forums to this day.
Thank you for your wisdom. I hope one day I can be as knowledgeable as you people.
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.
You sound like a really thoughtful and humble developer honestly. I hope when I'm more experienced I'm like you.
The code is in Typescript. It's the backend of a web app that's all. Doesn't really need to be in Rust but idk I just want to make something that doesn't use more resources than it needs to. Just to be neat :D
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
idk if it's a good example but I got some code I wrote in highschool which is no doubt terrible lol
I said this before but we need an internet friend finding community like r/makenewfriendshere and r/needafriend