9
I have been dabbling in Python for some time now and have written some really easy apps. But I alway...
since 2 years, 10 months ago
3 of 3
Tip Reveddit Real-Time can notify you when your content is removed.
your account history
Tip Check if your account has any removed comments.
view my removed comments you are viewing a single comment's thread.
view all comments


It would probably help to find good examples of OOP to be inspired by. If you find any let me know, because I've never seen good OOP code that wasn't only using features/patterns which are very similar to FP features/patterns, or using classes as glorified namespaces.
Also classes are overkill for AOC (at least the first 15 days) since the problems aren't big enough to need such a cumbersome organisational structure.
I pasted my code into CHATGPT and asked it to rewrite it using OOP concepts. Did a really good job!
ChatGPT might genuinely be the coolest thing humans have ever created. Or maybe it's algebra. Idk my metrics are weird.