736 karma · joined May 10, 2022
I taught myself C++ by writing games with SDL2.
The first game -- snake took about a couple of hundred lines and I put everything in one .CPP file. And I felt pretty good.
The second game, well, I forgot what it is, not Tetris nor Breakout, but it was complex enough that I realized that I need to put code into header files and source files.
The last game of that project was a Ultima-spinoff. I even used the same sprite sheet. The complexity completely drowned me. I was constantly asking myself how should I arrange things properly so I don't need a lot of global variables that every file can see, because naturally the Game class needs to see and know all other classes, and the Renderer class needs to see and know many other classes too, etc.
Eventually I dropped the project. A few years ago I picked it up again and figured out something that is close to Entity - System (not ECS just ES). I didn't complete the project but then firmly believe that it was the right architecture, and I was simply too burnt out to complete it.
This year I learned about ECS from pikuma. I think it's over complicated for small-medium games. Anyway I'm trying to say that I agree that writing a 10,000 line project is way more complicated than 10 1,000 line projects.
I have to sacrifice sleep for anything I want.
Once you figure out that the rest is trivial.
After engineers have the power of implementation and de-implementstion. They need to step into dirty politics and bend other people's views.
It's either theirs or ours. Win-win is a fallacy.
The only reason I want to lose weight is to eat more freely, won't be useful if I lose my appetite too.
On MacOS, even with scrollbars always turned on, app designers still try to hide it whenever possible. I think it's a mindset or some underlying library issue because I have seen some websites/apps hiding scrollbars.
And for apps/websites that do show scrollbars, sometimes they are barely useable. ChatGPT is one example.
Of course occasionally it's a brand pretty tough to avoid and then I wonder why they need the Ads anyway...
How pathetic.
A more realistic option is to just buy a chalet in a relatively remote area so I have access to some sort of plumbing system. But then again it's tough to find a stable remote job and a good school for my kid. (Again money can probably solve both)
But building and maintaining are going to be hell because I know exactly zero about those.