LOADING: An error occurred. Update Chrome, try Firefox, or visit this post for more details.

⚠️Reddit changed how removals work, which breaks Reveddit's website. Install the extension to track removed content:Add to chromeAdd to firefoxWhat changed?
✖︎
about reveddit
⚙F.A.Q.add-ons
r/
status
copy sharelink
[+] show filters
9
Help/QuestionOOP vs Functional(self.adventofcode)
submitted 2 years, 10 months ago by [deleted] to /r/adventofcode (134.8k)
43 commentsredditother-discussionssubreddit-indexmessage mods

I have been dabbling in Python for some time now and have written some really easy apps. But I alway...

... view full text

since 2 years, 10 months ago
3 of 3

Tip Reveddit Real-Time can notify you when your content is removed.

your account history
(check your username's removed content. why?)
Tip Check if your account has any removed comments.
view my removed comments
you are viewing a single comment's thread.
view all comments
[–]mckahz1 point2 years, 10 months ago

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.

permalinkhide replies (1)author-focusas-ofpreserve
[–][deleted]1 point2 years, 10 months ago

I pasted my code into CHATGPT and asked it to rewrite it using OOP concepts. Did a really good job!

permalinkparentcontexthide replies (1)as-of
[–]mckahz2 points2 years, 10 months ago

ChatGPT might genuinely be the coolest thing humans have ever created. Or maybe it's algebra. Idk my metrics are weird.

permalinkparentcontextauthor-focusas-ofpreserve
r/revedditremoved.substack.com
🚨 NEWS 🚨
✖︎

Important: Reddit Changed How Removals Work

A recent Reddit update makes mod-removed content disappear from profile pages, which breaks Reveddit's website.

Install the browser extension to receive removal alerts.

Add to chromeAdd to firefox

What changed?

r/revedditremoved.substack.com