Content
@
0 reply
0 recast
2 reactions
Gabriel Ayuso
@gabrielayuso.eth
If you're a developer and think OOP is bad. I think you've been radicalized. I don't use OOP much anymore but there's nothing inherently bad with it. You can shoot yourself in the foot and design things poorly using it but you can do the same without OOP. Stop following code influencer advice and just build.
5 replies
8 recasts
52 reactions
Vanessa Williams
@fridgebuzz
OOP used poorly is bad. FP used poorly (and excessively) is also bad. Use the right tool for the job, and level up your craft. Pure functions are great for guaranteeing immutability in concurrent code. OOP is good for proper encapsulation, and particularly for DDD. It’s also way easier to achieve extensibility and testability. Use what’s best in each case and don’t take pseudo-religious positions on technologies or techniques. Languages like Scala, Kotlin, and even JavaScript, allow you to have the benefits of both techniques. Java is admittedly klunky now, because it doesn’t handle lambdas well. That’s too bad because otherwise it’s a very useful language, despite all the garbage enterprise code that’s been written with it.
1 reply
0 recast
0 reaction
Mo
@meb
This is the way, tools are tools. People misusing them does not mean the tool itself is invalid
0 reply
0 recast
1 reaction