Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
asgs112755yHave you tried functional paradigm yet?
Whatever you try, it will take quite some time and practice to gel -
Time to learn FP 🦹😉
Remember, when in doubt, prefer composition to inheritance. -
Hey, you've realised there's an issue, and that's usually half the battle.
From that point onwards you can force yourself to take a second look at things and check if that's really the correct way, conceptually, to design your code if adhering to an OO style. Eventually it'll then just click - it's just practice. -
@SortOfTested Yes, I've heard of that one. It tells me that should provide decoupling.
-
@SortOfTested We had FP and F# at uni but I had enough credits to skip it. Regrets.. :P
-
@CaptainRant
Provided you had a good professor, you definitely missed out. The paradigms are all worth knowing. -
@SortOfTested Well, that reminds me: I still have 100 credits left to take whatever courses I wish, so I could go back one day and attend some classes, but I can't because I work, so the solution would be to enroll in their mixed distance learning program, although that would be a lot of self-study and I'd miss out on valuable instructor lessons.
Something to think about.
Related Rants
I need to stop treating an OO language as if it were a procedural language.
I have the tendency to turn my code into GOTO spaghetti even though I'm semi-aware that objects exist and that they are distinct.
I still have to get used to this paradigm.
My Java professor always swore by the Plato paradigm, i.e.:
""Platonism" and its theory of Forms (or theory of Ideas) denies the reality of the material world, considering it only an image or copy of the real world.
According to this theory of Forms there are at least two worlds: the apparent world of concrete objects, grasped by the senses, which constantly changes, and an unchanging and unseen world of Forms or abstract objects, grasped by pure reason (λογική). which ground what is apparent." (wikipedia)
Thinking in objects, abstractions and metaphysics is not something I haven't done before (I've practiced it during Sociology and Ethics with the whole Pascal Leibniz, Newton and DesCartes approach) but it's certainly not easy.
Then there was my cool Programming 201 professor who said: "Don't worry man, just read those great UML, Program Design and GOF books and it will all become easy, like a story. It'll all make sense.
I mean, I've graduated, I've passed my Software Engineering I, II and III (hard as hell) but since I haven't focused on those theories and practices anymore, I've lost my touch.
It's definitely not easy for a novice programmer to transition between paradigms..
rant
paradigms
oo
junior dev
proper programming
learning