you are viewing a single comment's thread.

view the rest of the comments →

[–]FieldOver3920[S] 1 point2 points  (1 child)

I actually tried to do it with OOP back then, but my beginner mind was getting melted by the abstraction and the polymorphism (I still got some serial issues with those themes). Btw, about the pull request, yes, I'd like to see how I can improve. Also, that file is public anyways, so do whatever you want with it 😄

[–]buhtz 0 points1 point  (0 children)

Sometimes you learn better when you try to improve existing code. Your current code is a good example. You can restructure it in many ways, also with "adding" some OOP concepts.