Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 662

[⭐ CODING ⭐] ❤️ OOP VS FP ❤️

by Infinimonster - 21 May, 2022 - 07:47 PM
This post is by a banned member (Infinimonster) - Unhide
811
Posts
342
Threads
2 Years of service
#1
(This post was last modified: 21 May, 2022 - 07:50 PM by Infinimonster. Edited 3 times in total.)
Hello my friends, I want to hear you guys opinion.

@ANG just fell in love with OOP and i don't think OOP is the thing that should be used by anyone yet some guys still use this shit.
In this Thread i'll state my Points and hopefully get response back from dudes, which are like me and use Functional Programming over Object Orientated Programming.

1.
elecance, simplicity, flexibility, readability, maintainability & structure are important but OOP fails to deliver them, in fact it provides just the illusion of these things. - it makes things worse
2. When using OOP you split your code to different small files in 99% of the cases. In my opinion everything should be clearly structured in one place as i don't want to jump around, trying to find things that may cause a issue i may be facing. In fact, i belive the code example of fuctional programming below is clearly structured, easy to maintain and just better than OOP:
[Image: 5ONhkky.png]
[Image: V5qDXAC.png]
-----------------------------------------
Royality!

Waiting For Like
  Telegram: @Infinimonster
Discord:  Infinimonster#0002
-----------------------------------------
[Image: V5qDXAC.png]
 
This post is by a banned member (Dimons) - Unhide
Dimons  
Supreme
167
Posts
12
Threads
4 Years of service
#2
i disagree PepeKnife
[Image: photo_2023-07-21_01-20-12.jpg]
This post is by a banned member (ANG) - Unhide
This post is by a banned member (onehero1) - Unhide
onehero1  
Registered
382
Posts
14
Threads
2 Years of service
#4
Any advice for a beginner like me in coding/programming hehe
This post is by a banned member (Infinimonster) - Unhide
811
Posts
342
Threads
2 Years of service
#5
(21 May, 2022 - 07:54 PM)ANG Wrote: Show More
[Image: Pba55JS.png]

ur opnion is stupid about OOP larger scale projects require OOP OOP is expected by buyers and used by thousands its there for a reason. OOP isnt split into many files I just made the exact same code as you without all the stupid arguments and other shit what ur doing is just dancing arround the fact that OOP is better and expected to be used professionally besides that for python its better for perfomance and bigger projects the garbage collecter will just cry if you continue to code like you do

I don't think it looks better on the screenshot you've attached. Even if you don't split your OOP Code in different files, i don't see the point for it. Yes, major companies use OOP but this don't mean that everyone should use it too.
[Image: V5qDXAC.png]
-----------------------------------------
Royality!

Waiting For Like
  Telegram: @Infinimonster
Discord:  Infinimonster#0002
-----------------------------------------
[Image: V5qDXAC.png]
 
This post is by a banned member (ANG) - Unhide
This post is by a banned member (Bloodhoundr) - Unhide
This post is by a banned member (Infinimonster) - Unhide
811
Posts
342
Threads
2 Years of service
#8
(21 May, 2022 - 08:55 PM)Bloodhoundr Wrote: Show More
(21 May, 2022 - 07:47 PM)Infinimonster Wrote: Show More
Hello my friends, I want to hear you guys opinion.

@ANG just fell in love with OOP and i don't think OOP is the thing that should be used by anyone yet some guys still use this shit.
In this Thread i'll state my Points and hopefully get response back from dudes, which are like me and use Functional Programming over Object Orientated Programming.

1.
elecance, simplicity, flexibility, readability, maintainability & structure are important but OOP fails to deliver them, in fact it provides just the illusion of these things. - it makes things worse
2. When using OOP you split your code to different small files in 99% of the cases. In my opinion everything should be clearly structured in one place as i don't want to jump around, trying to find things that may cause a issue i may be facing. In fact, i belive the code example of fuctional programming below is clearly structured, easy to maintain and just better than OOP:
[Image: 5ONhkky.png]

I'd rather split my code into several small files than into a big one with hundreds of lines imo it's easier to read.

You can also split it on different files without using OOP
[Image: V5qDXAC.png]
-----------------------------------------
Royality!

Waiting For Like
  Telegram: @Infinimonster
Discord:  Infinimonster#0002
-----------------------------------------
[Image: V5qDXAC.png]
 

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 6 Guest(s)