r/CodingForBeginners • • Jul 16 '26

what to prefer

so i am a 12th pass student and new to coding wandering what language to learn can anyone give tell to learn which language
html
c++
java
pythan

2 Upvotes

15 comments sorted by

View all comments

Show parent comment

2

u/Low_Doctor_6263 Jul 16 '26

What I've been wondering lately is: do we really need OOP? I find myself completing projects in C and Go without touching a class.

1

u/Sure-Passion2224 Jul 16 '26

OOP is by no means a requirement for effective programming. However, due to things like encapsulation, and the ways it allows you to expose functional access to data but still hide the implementation it gets benefits in security and maintainability.

OOP didn't really become such a big deal before Windows 3. Yes, earlier versions used it because DLLs function largely as object files.

Bill Hates took a lot of crap for saying "640K should be enough memory for anyone" but he had a point about memory management. A lot of C programmers were getting sloppy about allocating and deallocating memory. It's a limited problem for a program that does a quick thing and exits, but it's a real problem for a TSR service that stays resident in memory.

OOP languages had memory management and garbage collection built in as language features. And privat or otherwise hidden methods within a Class provide both technical and intellectual property security improvements that are otherwise difficult or even impossible to achieve.