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
Search - "oop"
-
Let's clarify:
* Github is not Git
* Android is not Java
* Unit test is not TDD
* Java is not OOP
* Docker is not Devops
* Jenkins is not CI
* Agile is not institutionalised total chaos
* Developer is not Printer Support52 -
A guy and a girl are in a Java seminar.
Afterward, the guy approaches the girl and asks, "Hey gurrl, can I get your number?"
Girl says "Sorry, I don't give out my number, it's private."
Guy says, "Oh I'm sorry, I thought we were in the same class!"15 -
Boys use the word FRIENDSHIP to strart the relationship...
Girl use the word FRIENDSHIP to end the relationship...
Real example of Polymorphism...😜😜😜2 -
HTML - hot tomato monkey language
CSS - crazy stupid script
PHP - per hour pay
JS - just scream
JAVA - just a valid acronym
C# - see sharply
Objective C - OOP cash
C - cash
C++ - cash++19 -
She: "I am not getting anything out of these classes!!"
Me: "Try making some Objects first"
*Awkward silence*8 -
Colleague: OOP is so elegant, isn't it? *Stares at me with a greedy smile*
Me: ?
Colleague: look how classy it gets!
Kms2 -
The interview was for an internship, I was so nervous about it and thats how I fu*ked it.
Q: So you have studied OOP?
A: Yes Sir, I have studied OOP in C language.
And the rest is history. 😃😃10 -
Interviewer: Can you explain OOP to a six year old?
Applicant: About the 6yo, are you referring to a client or you?
🤦♂️🤦♂️🤦♂️13 -
Object oriented thinking.
A boy tries to look at girl in a class.
Girl : It's bad manners.
Boy : No it's not. "MEMBERS OF THE SAME CLASS CAN ACCESS PRIVATE DATA".9 -
when your teacher says he prefers this:
class A
{
// code
};
over this:
class A {
// code
};
me: can u not26 -
Functional Programming literally has 'fun' in the title; OOP is one letter away from 💩. I rest my case.5
-
The moment that I finally understood OOP.
Several teachers had already given up explaining it over and over again but one classmate took a few hours to explain.
Suddenly, after a few hours, that AH-HA! moment was there!
I've done as much OOP programming as possible since then and have explained it to others who were struggling with it as well 😊30 -
Java: I'm the complete OOP Language
C: I'm used in most of the places
Python: I am the simplest language that can do wonders...
Assembly level Language: At last you all have to come to me. So all of you STFU.8 -
first day of new junior.
me : tell me what you know about inheritance
junior : don't look at me, we're very poor, if my parent's die i wont get a single dime
me(in my head) : this is gonna be fun.4 -
The best prank I ever pulled was on one of my IT teachers.
In 2011, I had an intense OOP JS training and whil ...[read more]12 -
"OOP is just a trend." - My first year internship technical manager. It happened 6 years ago, the guy retired soon after.15
-
We are currently doing procedural programming in an OOP language. "Only write code inside the main function" Here, have my bubble-sort function in your face.2
-
Pair a FP programmer with an OOP programmer for nine months and they will give birth to a whole new level of procrastination.3
-
Don't get me wrong, I like funcional programming, but this smug „This would neeever happen with FP“ bullshit really gets on my nerve and kind of turns me off the idea of ever wanting to work with FP programmers.
It's just another paradigm, it's still possible to write unmaintainable fuckugly crapcode with functional programming.
And it is still very possible to write beautiful, clean, well maintainable code with OOP. Get over yourselves and understand that it's a tool and not a religion, and a good dev should know when to pick which tool for which job without childish notions of intellectual superiority.4 -
The use of git and understanding/working with foreign keys and performing (including the understanding) JOIN queries.
Also, it took me years and to understand OOP.
When think back to my code from before that, my brain spontaneously starts bleeding.6 -
WTF python.... How the fuck are you an OOP language and unable to overload constructors...?
No method overloading... and they say JAVA is a shitty language.24 -
My CTO in the 'good old times', when he still talked to me and shared his wisdom, once told me what I should know about oop and explained me the world of programming and what really matters:
CTO about oop and C#:
"I think this object orientated stuff is overrated and useless. You don't get finished. I write everything in one file. You should do that too. The fastest way is always the best one."
So, dear readers, you might think, he maybe understood, what oop means. I have to disappoint you. He is as FUCKING STUPID as he sounds.
He didn't understand the whole concept of the language C# or oop.
He doesn't use properties, every single method is static void and there is nothing like an object.
Since there is more from where that came from, this will be continued...7 -
Talked to long time friend a while back.
I think he freelances now and does some kind of web design stuff.
He said, he hates java, and I asked what he hates about it:
" Those stupid variable types, I only use VAR in PHP to get around that stupid stuff. And what is this Oop anyway?".
😵 Dude? The fuck?8 -
Anyone remember when PHP was a straightforward procedural language and not a pseudo-objective mess?
#saturdaynostalgia9 -
Functional Programming literally has 'fun' in the title; OOP is one letter away from 💩. I rest my case.4
-
last semester i was working as assistant professor teaching Basic OOP Subject. and my girl happens to be enlisted as my student. One day she was late for my class and get in without a permission. so i ask her
Me : Why don't you knock the door?
Her : Why should i ?
Me : did i give you my permission ?
Her : Public class doesn't need permission. our class is not Private.
oh my god i'm so in love with her2 -
Spent 2-3 weeks on implementing a new feature, a guy with 10 years of experience jumps in and solves it within 5 days.
*Oh! I forgot to mention, it was his first time working with the framework.
I must say his OOP skills are really good, not sure if this is something you learn by reading books or simply by practice.
I strongly believe that if you have a good understanding of how to build apps with OOP pattern, you'll do a great job in the SW industry.4 -
1 - when I actually got the point of OOP
2 - When I got that I could check if a number was odd or even by doing & 1
3 - (in the future) when I will understand lifetimes in rust.20 -
When you don't use OOP for a casual project, but then shit gets real and you have to redesign the whole thing3
-
When I got to learn about json yesterday I hate it cause I need to do extra work to MVC project. But after today the instructor told us what it does, and I love it. Gonna start learning this stuff more tomorrow1
-
I'm so fucking tired of OOP.
This bullshit never ends. Everyone treats OOP in their own, proper (of course) way. You read tons of those fashion books, like uncle bob and shit. and then comes a dumb asshole that starts reviewing your code, and tells you doing it wrong. FUCK. and you can't tell anything to your TL or PM cuz they are same dumb asholes. Because after you fix all the bullshit from the first asshole, those more responsible assholes come and tell you that you still doing it wrong.
- uh.. bruh, why don't you make interface for everything? that' S.O.L.I.D, you know.. it just right thing.
- bruh, why don't you use enum and switch case. we need a factory.
- bruh, we don't use abstract classes, use interface
- could you rewrite your linq/stream thing into a class and a method. it's just simpler for us. foreach loop is something everyone knows.
well,then go and LEARN the tool you're dealing with, coderfucker.
FUUUUCK.13 -
During our OOP class, our lecturer taught us how to make GUI, how to make stuff move, and so on..basically our reaction during the whole class was "woahhhhh...coding is actually fun" XD2
-
I sincerely like the moment, when i train a newbie to code .NET showing him/her how far OOP in .NET goes.
I love to give the following example:
var s = "round and round it goes";
s = s.ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString().ToString();
And yeah. It's totally fine.
Because each component of .NET is inherited of object. And the class object supports you with the function "ToString()".
After that, in most of the cases, i get a slightly irritated look from the newbie.
Than i say, "welcome to Microsoft" ;)
I finally add, that the compiler of .NET finally identifies duplicate results and refactores the given code before execution ^^
Coding Is fun, as long as you get the big picture/concept of the language you're using.2 -
*uses java and c# for a few months without touching GML or my custom script language*
*Jumps back in after said few months*
Oh god I miss OOP, please give it back!7 -
So I'm just wondering if this happened to everyone else because a few friends of mine at work have corroborated my experience.
So, when I was very young and just starting to learn PHP, I was trying to grasp OOP. I read and read about it and did the example tutorials and nothing really did it for me. Then one day, writing some scripts for a game I played, it just hit me. Literally like "oh.....I get it. That's why this is a thing."2 -
Went to a job interview for ASP.net even though I don't know ASP.net since they asked me to come. I got the job since I was the only candidate that knew what OOP is.
I don't really want to work there.5 -
Got an assignment for my OOP class, looked at it, laughed, "haha this is baby stuff I could code this by farting on the keyboard"
Wrote 400 lines of code without debugging
🙃.... Why do I do this to myself?3 -
So today I saw another 'OOP should die' article.
And I decided I should google around a bit to find out why.
Reasons I found:
- Things get too complicated
- Things get too abstract (same as the above really)
But when I search for alternatives, only functional programming and different ways to use OOP get mentioned.
I still don't get why OOP is supposedly bad though.
Maybe my 20-30k LOC projects aren't big enough to see it?
For me the abstraction works very well. The abstraction is used to keep the complexity low(er).
And the different ways of using OOP are a plus-point for me. (Like the Entity-Component system)
I don't know enough about functional programming to be able to say it's better or worse, but the ideas behind it a perfectly usable in languages like C#.
So if any of you have a good concrete reason to not use OOP, please feel welcome to tell me in the comments :)12 -
Technical phone screens be like, "we see you have years of OOP experience, but can you tell us about the differences between an interface and an abstract class?"
Yes. Yes I can. Can you tell me why you're asking such basic questions? Is this something people actually don't know this late in the game?7 -
I have a rule made by myself. I call it "550 line".
If a class have more than 500 or a method more than 50 line, something is wrong.
(Is there any better rule? Tell if there is some)7 -
I was fixing an issue where I have encountered a Java class written by a recently hired senior developer with 1K+ lines of code.
Inside that class....
One Method => 1K lines🙄🙄
I don't know where to bang my head now😐😐6 -
I remember when I first started programming and used to be scared of classes. I was thinking about it after I wrote several today like it was nothing.3
-
dev "no no no, you're overengineering it. You just need one class for that"
Me "but ... Those are different object that share a common interface. The internal logic is not the same, only their output is. You know ... That's the purpose of interfaces"
Him "no no, as i said, you don't need that. Listen, you can put ALL the fields and methods in a single class and then you can use a switch with different cases .."1 -
We are a web developer team of 4 people. The system we manage is huge because it's a huge organization.
We use php.
Requirements grow rapidly and debugging became a nightmare. So we decided to move from procedural to OOP to ease it a bit.
And we have this one guy in our team (joined recently) who doesn't understand the benefits of following OOP. He is the one who manages most side projects among us too.
We have tried hard to convince him and now we have almost given up.
So I am asking you guys, please give me some ideas of how we could convince him to learn and follow OOP.7 -
Best OOP class ever 😆
"Now you can access your classmates' public data, you know their classes' parts. But you can't touch their private parts (5sec pause) ...of their class. However if you're related, it's okay for you to play with eachothers parts... as long as they're protected. "4 -
pm: next week you have to talk in front of 20 interns
me: oh, sh*t I better get prepared. Googling "principles of OOP"8 -
Correcting basic programming exam, see this part of an answer:
---
for round in all_days:
if round+1 < round:
---2 -
Any tips on nailing OOP design interview questions? This is a black hole, weak area for me, and I get absolutely no feedback on what I'm doing wrong.
I feel like most of it is because I *nothing* about what I'm asked to design.
And yes, I ask clarifying questions, list out use cases and constraints, identify nouns/verbs and map them to objects/methods - but these don't help with the overall *design* when you can't even grasp what the components are, nor which parts need extensibility.
Imagine you've *never* been inside a car, let alone even understand there's components to a car (you don't even know that cars have engines, or that they take fuel). Now imagine you're asked to design a car. It's just, silly.14 -
The worst thing I've seen a developer do would be becoming a university teacher while not being able to understand simple OOP or good programming practices.
I can't think of a most harmful one, just mediocrity cultivating unknowingly mediocre devs.2 -
When I was in college OOP was emerging. A lot of the professors were against teaching it as the core. Some younger professors were adamant about it, and also Java fanatics. So after the bell rang, they'd sometimes teach people that wanted to learn it. I stayed after and the professor said that object oriented programming treated things like reality.
My first thought to this was hold up, modeling reality is hard and complicated, why would you want to add that to your programming that's utter madness.
Then he started with a ball example and how some balls in reality are blue, and they can have a bounce action we can express with a method.
My first thought was that this seems a very niche example. It has very little to do with any problems I have yet solved and I felt thinking about it this way would complicate my programs rather than make them simpler.
I looked around the at remnants of my classmates and saw several sitting forward, their eyes lit up and I felt like I was in a cult meeting where the head is trying to make everyone enamored of their personality. Except he wasn't selling himself, he was selling an idea.
I patiently waited it out, wanting there to be something of value in the after the bell lesson. Something I could use to better my own programming ability. It never came.
This same professor would tell us all to read and buy gang of four it would change our lives. It was an expensive hard cover book with a ribbon attached for a bookmark. It was made to look important. I didn't have much money in college but I gave it a shot I bought the book. I remember wrinkling my nose often, reading at it. Feeling like I was still being sold something. But where was the proof. It was all an argument from authority and I didn't think the argument was very good.
I left college thinking the whole thing was silly and would surely go away with time. And then it grew, and grew. It started to be impossible to avoid it. So I'd just use it when I had to and that became more and more often.
I began to doubt myself. Perhaps I was wrong, surely all these people using and loving this paradigm could not be wrong. I took on a 3 year project to dive deep into OOP later in my career. I was already intimately aware of OOP having to have done so much of it. But I caught up on all the latest ideas and practiced them for a the first year. I thought if OOP is so good I should be able to be more productive in years 2 and 3.
It was the most miserable I had ever been as a programmer. Everything took forever to do. There was boilerplate code everywhere. You didn't so much solve problems as stuff abstract ideas that had nothing to do with the problem everywhere and THEN code the actual part of the code that does a task. Even though I was working with an interpreted language they had added a need to compile, for dependency injection. What's next taking the benefit of dynamic typing and forcing typing into it? Oh I see they managed to do that too. At this point why not just use C or C++. It's going to do everything you wanted if you add compiling and typing and do it way faster at run time.
I talked to the client extensively about everything. We both agreed the project was untenable. We moved everything over another 3 years. His business is doing better than ever before now by several metrics. And I can be productive again. My self doubt was over. OOP is a complicated mess that drags down the software industry, little better than snake oil and full of empty promises. Unfortunately it is all some people know.
Now there is a functional movement, a data oriented movement, and things are looking a little brighter. However, no one seems to care for procedural. Functional and procedural are not that different. Functional just tries to put more constraints on the developer. Data oriented is also a lot more sensible, and again pretty close to procedural a lot of the time. It's just odd to me this need to separate from procedural at all. Procedural was very honest. If you're a bad programmer you make bad code. If you're a good programmer you make good code. It seems a lot of this was meant to enforce bad programmers to make good code. I'll tell you what I think though. I think that has never worked. It's just hidden it away in some abstraction and made identifying it harder. Much like the code methodologies themselves do to the code.
Now I'm left with a choice, keep my own business going to work on what I love, shift gears and do what I hate for more money, or pivot careers entirely. I decided after all this to go into data science because what you all are doing to the software industry sickens me. And that's my story. It's one that makes a lot of people defensive or even passive aggressive, to those people I say, try more things. At least then you can be less defensive about your opinion.53 -
So, I just started learning OOP(Object-Oriented Programming) and my brain hurts. like I maybe understood 10% of the information I just consumed. Is that a thing? Is OOP hard for people the first time around? Am I just dumb? Hell, it wouldn't be the first time14
-
Every time I come back to Java:
"Oh man OOP is fun"
A few days later...
"This stupidly verbose, hand-holding garbage."4 -
Something that really bothers me about the oop idea of "oop allows better code reuse" is the fact that I have yet to encounter a situation where I need to reuse old code for a new project.
And the code I do want to reuse I've put into a library and made genetic anyway. Something which can easily be done with any language supporting generic programming, object oriented or otherwise.6 -
Random talk with a colleague:
-How familiar are you with oop concepts?
- I don't need that, I will make my life easier instead. They say "the" Java is faster though.
-Faster from which lang?
- C.
Me: Aw shiet.
Can't believe who I share this precious air with.7 -
I hate it when (Java) programmers produce such clutter just because their OOP 101 professor told them to do so in 2005.
I refactored it using `git rm`.12 -
I bring you all another gem from my computer science course, this time from my OOP class.
The first assignment we made for this class was a simple CLI shop, where you would have basically three main classes:
- A Product class that you extend to create different types of products.
- A Cart class that manages a list of products (basically an ArrayList<Product>) and has some useful methods
- A CLI class to display a simple interface to the user and call methods on a Cart.
Basic OOP stuff, so far so good.
Then for our second assignment the teacher asked us to make Cart a generic class, where you would say Cart<Bagel> and you would only be able to put bagels in it. This makes absolutely no fucking sense, this is not a good use case for generic types since
1) you would never limit your customer's cart to one type of product at compile time.
2) in Cart, you have to cast the generic type to Product to extract any information from the product, like when getting product prices to calculate the total price, so might as well use a fucking ArrayList<Product>
I'm just saying what he's asking us to do has (to our fictional shop's business logic) absolutely no advantage over subtyping.
Also, why the fuck teach generic constraints when you can just tell your students "just cast T to Product", right?
Like fucking hell, couldn't you spend like 10min to come up with a decent assignment that actually teaches generic types the right way? ffs
And just so no one can say "but wut simple assignment would you give to teach students generic types?", here's a simple and much, much better alternative: implementing your own ArrayList. Done. Can't get much better than that, it's a legit use case and teaches you the basics.
Sorry man, you're a great person, you really are, but you suck as a teacher.3 -
I was assigned to maintain the website as full stack dev but the code from backend is horrible previous devs didn't use SOLID principle, DRY, KISS, or Design patterns. I had to adjust from OOP mindset to Procedural its hard to debug in this state.3
-
I JUST SPENT A PAINFUL TWO HOURS TRYING TO FIND OUR WHY MY EXCEPTIONS WERE BEING THROWN AFTER EVERY SINGLE INPUT THE USER ENTERED...
I commented out the try catch, it worked, I commented out the throw and it worked, so I uncommented them both and it worked again? WHY DIDN'T IT WORK BEFORE Y U DO DIS2 -
Previously, I use Codecademy to learn code.
Now I learn from my friends. Believe me, they helped understand OOP better. -
to the guys saying "oop is dumb" / "i don't need oop" / "i've never worked with oop"...
i have some questions:
- which language are you working with
- which problems are you solving
- how big is your code base
- how do you maintain readability of your code?
don't get me wrong, i don't believe that oop is always the answer. i'm just curious which fields these statements are coming from. if they all come from a low level (assembler, C, ..) or functional languages or "scripty" languages (python, JS), or if there are also people working with languages like C++ where oop is pretty much established. and if the latter, i'm curious how people design their code and what problems they solve... tell me your story :D30 -
When you ask a bunch of C programmers to make an application in Java you get a main function that is 1,125 lines long because who needs OOP anyways? amirite?1
-
"What are the four pillars of OOP?"
Me:(I'm not an OOP guy, but focused on design patterns)
1. Encapsulation
2. Abstraction
3. Polymorphism
4. ??(was it inheritance or composition).
Fuck, Because of the phrase "composition over inheritance". I've been mixing both composition and inheritance at the same time.9 -
this is my legacy code, it's stupid, Change my mind.
a large number of lecturer and friends are against my thought. personally, i think this kind of code is told to be an OOP yet this is against the OOP concept. why ? first you assign the field to be private, but you implement Getter and Setter method later on, this is the same if you assign the field to be public in the first place.
another minor thing; yes this is old me, i use Bahasa Indonesia as a variable name.31 -
Don't be specific on any programming languages, focus more on OOP approach, and say you know about OOD/A rather than, you know Java, C# and this and that.1
-
Stop. Using. Fucking. ADA. To. Teach. Basic. Programming.
I wouldn't say you should use a dynamically typed language like Python, but having programed since high school, I hated each and every aspect of Ada. We were even taught OOP and generics with it! (And not, you do not want to know how it is, because it is dreadful)9 -
Student dev : "C++ is C but with OOP features"
Teacher dev : "C++ is a OOP language, you'll loose points if you don't use OOP"
Me: "Time to leave this school"3 -
Forcing to use OOP on golang is like use basketball shoes on the right foot and ballerina shoes on the left foot
Ugly -
I like building large apps in flat php.
I get bullied for not using OOP / Frameworks.
I don't like this.5 -
My professor asked me today why I wanted to build my project using OOP.
This is a 480 level course and I have 2 1/2 years experience building well over 30 projects with OOP. And yes, we have students here who are nervous about the idea of using OOP. Nevermind that I and others took two classes on the topic.
I have hit my dispair event horizon. It has to get better from here. 🤯😬🤬🤬🤮☠️4 -
If I find the genius who thought using getters and setters everywhere was a good idea, i'll gladly throw him into an active volcano.28
-
Why is OOP hated, here?
How is functional programming much better than OOP? (as stated by so many peole here)18 -
HR: What is Java?
Me: Ah... OOP... uhm... is a programming language... *awkward silence*... Yep, that's all
HR: Congrats, you have bombed the interview
Source: Me from few days ago ._.5 -
Just because OO exists, it's not mandatory.
Some code would be 10(+) times simpler, more readable and more maintainable without it.7 -
Taught myself assembler at 13 (this was the mid 1980s) and wondered how the hell people could stand to do this. Then I found out there were more abstract languages like BASIC or COBOL. So I taught myself BASIC and MS-DOS batch scripting. Various other languages came later (PROLOG, Pascal, C, Smalltalk, C++, VisualBasic, etc). But it’s never been easy for me because I suck at math and complicated logic structures. Especially not good with OOP. My brain was ruined by learning procedural coding first. It refuses to incorporate OOP.
-
Dear Java developers who has a fetishes with OOP and Design Patterns, and are now using Python:
Not every fucking thing you build has to be a class, a singleton or a factory. Specially in Python. Go with your boredom and boilerplate elsewhere.17 -
That moment when you automated the application so much, working on it get's actually kinda boring 🙈😂
-
I just love PHP. You can do so much awesome stuff with it. Here, let me show you:
How to READ a private member of an object:
$reader = \Closure::bind(function ($instance, $name) {
return $instance->{$name};
}, null, $instance);
$value = $reader($instance, $name);
How to WRITE a private member of an object:
$writer = \Closure::bind(function ($instance, $name, $value) {
$instance->{$name} = $value;
}, null, $instance);
$writer($instance, $name, $value);
See? Just like that. This is really amazing stuff. I don't know of any other languages that allow this.10 -
"Do you know OOP in Java?"
"No, I don't."
"How about POJO?"
"I dunno too."
"Okay, so what do you know?"
"Pascal."
"Then why do you call yourself a Java programmer, dude?"
"Cuz, I'm a programmer, and I'am a Javanese."
"Oh..."1 -
So i've been working with OOP and now that i have some free time i decided to learn Golang.... Great language but at the beginning was really hard to go back to the non OOP.9
-
New folks, learn functional programming. Avoid the stupid pain with OOP and mutability. Pays off a lot and for ffs, increase your salary demand, don't lowball, so everyone can enjoy higher pay.43
-
Just been cleaning out an old cupboard and found the book that really helped me to understand OOP ... Python for absolute beginners .. Before I picked it up, I was having a hard time getting my head around it all. Good times, good book :)
-
Trying out pure functional programming in javascript. First few weeks: wow, this is so fresh, oop can die, etc. Now: this isn't readable at all! 😐5
-
The object-oriented model makes it easy to build up programs by accretion. What this often means, in practice, is that it provides a structured way to write spaghetti code.
~Paul Graham -
When I was taking a programming course as a Mathematics prerequisite, and then object oriented programming basics (inheritence, interfaces specifically) all just clicked at once. Immediately decided I was going to pursue the computer science major instead of math.2
-
That feeling when you think your workflow is bad and happens to see"Professional" Degree level team of coders writing crap code with even crappier workflow
-
What do you think about class-based OOP vs. Prototype-based OOP?
I think that class-based OOP is an unnecessary abstraction of structs, functions and global variables most of the time.16 -
I have lately seen a lot of people mentioning that functional programming is better than object oriented programming.
So far I have only experience in oop and I would really like to know some reasons why it is better.9 -
“The problem with object-oriented languages is they’ve got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.”
—Chris Scalfani, from https://medium.com/@cscalfani/...4 -
I've been writing various forms of OOP for three years and just now learned exactly what static means
-
thinking about getting a laracasts subscribtion, is it worth it at all? I've recently been working with PHP a lot, and my OOP skills are pretty narrow tbh, I wanted to learn more OOP and laravel, because there are a lot of job's that require you laravel knowledge.5
-
So I've been programming for a while now in various languages like C#, JavaScript, etc. I have never understood how to do OOP until I watched the MVA videos on Microsoft's website and I have to say, its made me love C# more and made things so much easier to understand!
I'm already thinking about rewriting my personal projects from scratch lol. -
People might like it. People might love it. People might wanna kiss it. People might wanna share bed with it.
But I just don't feel it. -
Went shopping with my girlfriend the other day and saw one of the sizes was OOP
I immediately asked out loud: “Object Oriented Programming?”3 -
I dont understand why we must use PHP to
understand OOP
Im a student software developer and this is the first time i will learn about Object Oriented programming but i dont know man im really confused why our prof makes us use PHP to understand the concept of OOP rather than to learn Python or Java which is ten times easier for an OOP based application
I can understand that PHP can be used for OOP but why just why... can someone please explain why this might be and how does it feel to use PHP for OOP purpouses9 -
I came from a procedural background, then adopted object-oriented programming, and now I am very enthusiastic about functional programming. Is this kind of an evolutionary path as a programmer? Or am I just late to the party?
And what paradigm follows?5 -
People who are too cool for old-and-busted OOP, but want to build microservices: networks of independent, encapsulated systems that look after their own data and communicate by passing messages.
Yup, that's totally not OOP you're doing there, kiddo. -
Just got an internship a few days ago. The manager threw a project at me. I have to do it alone. It's a user-system (registration, login etc.) The front-end is ready. And I have to build its back-end in PHP. I started to draw the project on paper (pseudocode) and then asked a few questions about design patterns to jump into coding. They recommended me Laravel. I'm good at PHP (procedural) and have done some basic OOP. I've actually built a few projects in Python using OOP. But I've never used any framework (yeah, I know). So I started to learn Laravel and realized that it's very different than normal PHP (procedural or even normal OOP). I almost don't write any normal PHP code. This makes me confused. But I have to learn it fast and well, and finish the project to hit the deadline and get the full-time job. I'm desperately looking for any kind of help to learn Laravel more effectively! I've googled and got some recommendations. But I need more live help from devs directly.5
-
So I had to chuckle at this: https://www.devrant.io/rants/93746
My gf asked what was up. I tried explaining OOP to her (she does not have any coding knowledge) and I used the following example:
Let's say there is a class humans, you are an instance of that class and so am I. There are certain variables like hair color and height and those are different for you and me. There are also functions that we both can do and those are defined in the class.
I thought it was a neat idea. -
Java rant...
If public field declaration is so so bad, why can't all class fields in java just be private by default? And make it a pain in the ass to expose it as public?
I can't actually remember a time declared a class field as public, it is muscle memory now... Private bla Bla Bla, return, private bla Bla, return...4 -
A sweaty furry sodomizing a dead dog would still be less disgusting than the codebase on which I have to work, some highlights are:
- The same class repeated 40 times with little variations instead of using some decent parametrization
- Inexistent encapsulation and separation of concerns, most changes requires to modify and recompile 2-3 indipendent Maven projects
- Abuse of inheritance which instead of being used to create "is-a" relationship as it should be it's used to reuse some methods of a class in another instead of using Spring dependency injection as we should be
It would be understandable in a 20 years old legacy projects but in something which started 2 months ago it drives me mad, I tried to fight to change it but in the big enterprise to which I'm "body-rented" it's impossible1 -
The worst thing about Java is, that it created a generation of coders, that think OOP is the opposite of FP.9
-
So I'm at this gaming event to enter in a small game I have been working on with fellow teammates. As an OOP, does anyone find the following conversation hmmm, odd?
Guy: I program for Microsoft!
Me: That's great! What's your favorite syntax?
Guy: I don't want to get into that? Me(inMyHead): 🙄😂😂😂👍🏾4 -
Python ecosystem drives me nuts!
Not the language tho, i kinda like it, and some features are damn straight awesome.
But ecosystem... man!
The way ppl write code in it, the lack of documentation (or in quality of it)...
I recently wanted to check how library does one thing (debug purposes), and not only i had to track some method up 3 classes, the other method i hunted only by signature and still i have no idea how it ends up being accessible where it should...
"Explicit is better than implicit" my ass...
Also dev managed to make the code very unreadable. In Python. Language with such strong opinions about code formatting. HOW ?!!
And the worst part is, it wasn't that big of a library and didn't really need the full freaking Enterprise OOP treatment with layers over layers of generally named classes and fucked up architecture.
FUCK THAT LIB, FUCK THAT DEV, FUCK IT ALL !!!
PS.
Project seems to be abandoned for a year or two, so there is hardly an option to fix things with the author sadly :(3 -
the company I work for has code that's very procedural which makes cringe as I strongly prefer object oriented.1
-
A fellow PHP dev I know implies procedural php is better in any way shape or form than OOP as it increases readability...3
-
In React, OOP is now the old way of approaching react.js everybody doing functional programming/functional components.. this that the future ???26
-
So I applied to a Java internship, I'm an absolute newbie in coding, they invited me to an interview and we're gonna have an assessment exercise regarding Java and OOP in general, any one have a Java or OOP one weekend crash course? Thx!14
-
I've always sucked at OOP and OOD, _in part_ because I have never encountered a good, common sense, relatable real-world example or analogy of why one would use protected or private variables/objects/functions over public. I watch tutorials and it all just sounds like static in my head and the explanations are just like "well, it's obvious you want to do blah blah blah because reasons."
Maybe it's just painfully obvious to everyone but me and my tiny brain just isn't capable of understanding. But if anyone has the example or analogy that made OOP click for you, please share.7 -
I realized only now that OOP is POO when read backwards. I wonder if this is a secret message encoded by somebody to make us all switch to functional programming2
-
Hello developers!!
I just wanted to know from where I can learn OOP skills from scratch? Suggest me some good tutorials available on YT ;-;6 -
Been wanting to get into OOP and unit testing, haven't found a single semi big project that I can use to study these techniques...
Wrote myself a class when asked to do an API call last week, and I think it looks pretty decent...
Does anyone have a ressource to just see how to do it "properly" on medium sized projects? (100k loc)6 -
node devs are the dev-world equivalent of the 12-year old in a crew cut who really thinks your shoes are dorky.
there was a oop question on reddit/node that had 1000 "ew/cringe" replies before anyone said "nice class"3 -
In interviews, I tend to forget the basics while I can answer more advanced questions. For example, I can't for the life of me remember the four principles of OOP but I can talk about garbage collection in my main programming language.1
-
I kind of don’t like OOP. There I said it.
Don’t get me wrong there are times I like using it. I don’t mind some of the features but I can rarely find times I want to use them.
It can be useful depending on the project but I mostly don’t use it and when I’m using Python I always feel like I have to? I know Python offers multiple types paradigms of programming to use but everyone’s making a big deal about OOP and I can rarely ever find uses for it. What I said for Python also goes for C++ I feel like I’m forced to do it. And I especially hate it in C++ fuck that.
I’d just like to use Python, and C++ without using it or if I do not have to use all the fancy features. And kinda wish Java and C# didn’t force OOP on you but I just don’t use all the fancy features in those languages (I don’t even use java but I’m mostly talking about C# for that one).
It’s not that I don’t know how to use it it’s that I can never find a use for any of the features or just don’t want to actually do it. Personally I only really see it shining in Game development, GUI development, and MAYBE network programming??
By all means I’m not trying to flame on OOP, I just wanted to throw my OOPinion (HA) on the matter. in fact you can tell me why you like it or dislike it. I’d like to discuss the topic with anyone.9 -
I love how frameworks and languages become more object oriented.
PHP and Javascript for example have come a very long way in the last decennia orso.
The why is obvious: logic makes sense.1 -
a guy that i had to work with. He was a senior developer and asked me for helo in python. First i had to explain to him how to use OOP and when he couldnt implement my solution he blamed me for his slow progress... serval times4
-
What to reply to a person who insist to use procedural php for developing website(with lot of services ofc) instead of framework which uses OOP concepts?
And says it will take too much time to learn those concepts and to implement it.1 -
I'm not gonna lie when im learning new modules or OOP or get errors or something I get intimidated and feel stupid for asking for help
-
Programming Paradigm Convergence.
I can already see it in JS and C#. Both have functional/OO aspects and keep growing more similar in terms of language features.
I'd rather see OOP die a fast and horrible death though 🤷♂️6 -
Typescript is a PIECE OF SHIT that adds 3 problems for every 1 it solves! Messing with so much shit from its linter and builder just so some OOP fools can code JS like *TAB* *TAB* *TAB* again!12
-
When I started branching out from frontend development and took an Intro to OOP course. I still do web, but getting more into the giant world of programming was really inspiring!
-
Someone here told me once that according to him/her OOP was often overengineered and I was wondering why.
Then, recently, I started diving deep into Symfony. And I got it.2 -
Six different .NET solutions using reflection to interface with each other just made OOP look a lot like spaghetti code.4
-
Hey devRant! Long time no see
I recently landed a job as a java developer so that's amazing
Still getting my head around the company's codebase, and holy fuck its huge.
I was taught best oop practices and patterns in CS class, but seeing them implemented in such a huge project is kinda pisssing me off: every single thing in the code has dozens of classes that call and implement each other, I spend half my time spamming the "open declaration" shortcut in a futile attempt to understand how the pieces fit together.
Sometimes I wish they had stuck to implementing everything in a handful of files, instead of the jungle of nested packages and references I got :pensive:
Oh well at least most thing are documented :shrug:
I kinda get y some people despise java for being so verbose and forcing strict pop on the programmer XD4 -
!rant
I finally published my first open source project. A package for calculation a geohash of a geolocation for pharo smalltalk.
I know that most of the users don't know smalltalk but it's the best OOP you can code with. And geohash is such a great algorithm. Lovely combination2 -
How do you do java style oop with classes and inheritance and all that in c++?
Do I really have to make a header and a source file for each class?
And while we are on it: are there any sources of "famous" games written in cpp?8 -
All u need is C folks seriously fuck the OOP concept you waste more time in a paradigm dilemmas than writing functional code. And that’s a damn fact.
I feel sorry for the mobile developers that are stuck using the OOP methodology6 -
in my OOP class the prof spent most of the time telling us OOP is dying, but we have to learn it anyway.4
-
I remember my college days, i had a subject about OOP. Damn, the professor only talked about how to make a f*cking TextBox and Buttons in VB.NET and we finished the course without hearing anything about OOP.2
-
OOP coder:
OOP is so useful and realistic!
Let me give you an example -> Cat extends Animal.
Every other coder:
So how is that useful in reality?
OOP coder:
...cat pictures?8 -
Question: can I describe OOP as "not in a loop, doesn't use interrupts" ?
I don't know much outside of OOP so describing it is like describing life, hard.9 -
OOP class, professor finishes a basic example with inheritance (some car/cabriolet/suv idea) and says: I don't know more java, if you have any questions please ask others. The exam was on pen and paper.1
-
If you find a programmer that uses getters() and setters() without any complex logic inside them, you should burn him/her/whatev with the strength of a thousand suns.19
-
!rant
C++ / OOP QUESTION
I have a uni assignment / project (Data Structures class), where I have to implement the ins-n-outs of 1D arrays, by creating a dynamically allocated array class, which can accept any type of data (using templates). But there's a problem.
I'd like to implement sorting the elements of the array. But given the fact, that I'm using templates, I cannot treat the elements as integers, nor as strings, or other types...
Also, let's say that the elements of the array are elements of class T, where T looks like this:
class T {
private:
double height;
int age;
string name;
public:
double getH() { return height; }
int getAge() { return age; }
string getName() { return name; }
};
(It's just a random example, pls don't judge for code quality...)
Let's say that I'd like to sort the T elements based on height, print out, sort by age, print out, then sort by name and print out. How can I do this? Is this possible?5 -
Boss/prof (does not understand code): "I like it more this way. Come on don't make that face thanks to OOP it won't be that much of a deal to make a change right"
He wants to change a fundamental data structure of our software 😉😉😉1 -
First day of intro to oop class, have to use eclipse, change theme to dark and make console parallel to editor.
Professor comes by and asked if it was eclipse... Yes?
Everyone is looking at my monitor like I'm a fucking magician.
Y'all basic af!2 -
Our OOP lecturer spent the first 6 weeks of the module covering basic programming concepts we had already covered in 2 previous Java modules. Halfway through the module before he even mentioned objects. Biggest waste of time ever.
-
Taugt myself javascript through online tutorials. Once you know one OOP language, it's easy to learn all other OOP languages.1
-
Am I the only one that doesn't think purely data-oriented programming is a particularly good idea?
I mean we're throwing out all the principles that have been established over the last 20 years of OOP like encapsulation and implementation hiding. And you can say what you want about OOP and yes it's not perfect, but there are things that work quite well. Implementation hiding is a perfect example of something that I don't think I just want to give up.
DOP feels like going back to programming C in the 80's with fully procedural functions and completely open structs.
Am I just going mad?6 -
Secondary school: 3,5 years teaching C# without the slightest clue of OOP. Literally only had 2 classes, where he presented us an example code(which wasn't even written by him), than we rather moved on to HTML and CSS.
-
Css positioning is harder to understand than the full OOP concept.
So i wanted to create a very simple page with a single css file. I spent 2 hours to position the buttons in the fixed header and center some things.
I got the whole OOP concept with abstraction, polymorphism and inheritance in an hour and could use it right after without problems.
Holy shtcake i never want to do frontend.8 -
Okay so theres something stopping me from understanding how Object Oriented Programming works. im sorry ahead of time this will get messy..
SO in this case we will use python. well what if the object has more than two functions? like the __init__, func1, then func2 and func2 does something else but doesn't get called or would you have to call of of them like class.func1(), class.func2().
I just don't understand when it comes to how the functions interact or effect each other. and how they would work when you dont call that specific function. I see the use of oop i just cant wrap my head around certain things..15 -
Python just keeps on giving.. everytime i try to do something in python i find out something awesome. The pythonic way of doing things are frikkin cool. I am a huge fan of OOP, and python is my clear favourite until now.
Yesterday i was trying to figure out how to do timed callbacks in python and was figuring out how to use system.alarm for multiple alarms, and ran into sched module.
Too sad i cant use this wonderful thing for my work.14 -
Not learning proper OOP in college.
Having to learn that to fix some projects was a real pain back then.1 -
What is your biggest embarrassing regret in your career?
I will go first. I regret than those day I don't understand OOP and Bull-shiting around. -
man, this nginx micro-services stuff is unreal - take your monolithic OOP application and split it across your environment and let them talk REST to each other. so sweet!6
-
Since I started living by Sandi Metz rules for devs, i feel like my code has really improved.
My favorites:
* Classes can be no longer than one hundred lines of code.
* Methods can be no longer than five lines of code.
I hope you find them as usefull as I did.2 -
Books.
Do you guys know a good book for professional PHP 7 programming, especially OOP, concepts, design patterns, abstraction, algorithms, security and data structures?
Please not that beginner stuff, I want to dive deeper into PHP 7 😁
Maybe in German or English 😋3 -
Many years ago, a teacher I had told me, "that oop is a passing fad", and today man still thinks that the structural is superior, and so he continues to teach ......3
-
How much of a red flag is it if a programmer gets concepts like interfaces and classes, but when asked what an interface is, can't give me a straight answer?8
-
PHP scripters bashing OOP saying it's shit, yet I have NEVER seen them writing a procedural app that encapsulates business logic correctly3
-
So a monad is basically a specialized object for converting to and from a datatype. So FP has specialized objects. Monad marries OO with FP in that sense. In C++ I would do this pattern with a class because it makes sense to encapsulate it there. Or at least a namespace.
Change my mind.
https://en.wikipedia.org/wiki/...7 -
to be honest, i hate every OOP, in my opinion it's just add complexity in every way. yet i would like to use Functional Programming but it's fukking hard to learn and hard to get use to. Tryna get used to Haskell.4
-
One hell of a devRant, and a very good read which explains why much of what many of us were taught about programming is wrong:
http://smashcompany.com/technology/...3 -
My comp lecturer accidentally created a duplicate of an assessment submission online and just renamed it "Duplicate Hand in (can't remove)" because he couldn't remove it. I'm a bit worried he was lecturing my second year OOP design class....2
-
Getters and setters vs property accessors?
The instructor of my Android development class is manually and purposefully using setters and getters when the Kotlin language and Android Studio is strongly pushing for this property accessor way of handling private data fields. He says that it goes against the philosophy of hiding the data and keeping data fields private.
I’m all for property accessors, but I’m struggling to come up with a response for what he says. Modern programming languages like Kotlin and Swift have been strongly encouraging the use of property accessors.8 -
ContractNotCompleteException.
Just found this on a contract.
19.1 Within this clause *Error! Reference source not found.* the following words shall have the following meanings: -
I have to change the model of my application but I don’t like the way it was written because it was written with multi threading in mind which I don’t mind using and It makes sense to use but now Idk how I can make any changes.
And I don’t even know where the fuck to start
Also it relies on a lot of OOP stuff and it annoys me. (I don’t really enjoy OOP)9 -
Today I found a faulty design choice in java, that seriously makes me hate java. Basically java prohibits abstract static methods. This -combined with the poor design choices for constructors - means that Subclasses cannot have a common constructor or static method calling the constructor.
Basically meaning that you can't just map a collection to objects without handling EVERY FUCKING CASE, WRITING THE WHOLE MAPPING AGAIN AND AGAIN, ADDING A FORCED PORTION OF SPAGHETTI WITH EVERY CLASS WHERE THIS WAS NEEDED.
https://stackoverflow.com/questions...
There seem to be other OOP languages with this faulty design. Can't say if I now hate OOP ingeneral or not, because maybe some languages may have provided a substitute for this6 -
I signed up for a uni lesson on MATLAB, the prof just changed his mind because he is braindead enough not to know MATLAB is not free, and decided to go with fucking C, because you know, there hasn't been a fucking assignment in my uni that wasn't in C except the OOP one. Miss me with that shit. I'm now going to develop automatic memory management and OOP libraries in C because if I write another program without proper OOP I will kill myself.4
-
How would you - as an experienced OOP developer - describe the difference between an abstract class & an interface to a beginner, learning the concepts?6
-
Am I the only one who thinks OOP in Javascript isn't always the best option? I really like structured code with classes and objects but sometimes it's just fun and satisfying to write a buttload of functions to do all sorts of things and build your code with that.1
-
Please someone tell me there's a better way to copy an object in Javascript...
I can't live with a language where I have to do this9 -
(Warning, wall of text)
Settle an argument for me. Say you have a system that deals with proprietary .foo files. And there are multiple versions of foo files. And your system has to identify which version of foo you are using and validate the data accordingly.
Now the project I was on had a FooValidator class that would take a foo file, validate the data and either throw an error or send the data on its merry way through the rest of the system. A coworker of mine argued that this was terrible practice because all of the foo container classes should just contain a validate method. I argued that it was a design choice and not bad practice just different practice. But I have also read that rather than a design choice that having a FooValidator is the right way to do OOP. Opinions?1 -
I learned today that learning programming in MVC architecture has nothing to do with programming but understanding objects, layers, architecture etc.
Please dear tutorial creators, introduce me to the subject with explanations of those and not with some code of mvc or whatever. -
Hi everyone! In your opinion what's the best place/resource to start learning OOP? And what application would you recommend? C# or C++?
I'm already into building websites so this is the next step for me. Thanks!8 -
Project Management class, that is currently handled by the prof that "taught" us Java that ended the course/subject without telling what OOP == disaster4
-
OOP is all about code reusability until you really want exactly the code Foo with non-pure functions in all your classes. You end up almost rewriting all subclasses' properties into the superclass to silence typecheckers. Is there no "I know what i'm doing, please just transpile/compile this piece of logic into these 20 places I need?" You end up doing it the functional way, dumping refs and params into some shared util function and have it do the job. I know, might as well have that one inherited also, but what's the point of adding more mess just for that ?2
-
Some of the rants that I’ve read recently have inspired me to write this one:
You know how some OOP based APIs require you to call the base implementation of an overridden method?
If you think about it, its pretty shit. None of the languages have mechanisms to enforce it, so all you can do is to rely on the caller to read the docs for that method that he is overwriting and then do the right thing.
And then you can also have the requirement that the base implementation should be called at the start or at the end of that method.
I really think that this is an OOP problem because if I would have to design it, I’d make a function that takes a closure as a parameter and then call that closure at the start or at the end of that "base" code. This is implicitly documented (by naming the closure appropriately so that the caller knows if it is called at start or end). And it is impossible to miss it because you need to pass something to that parameter. (Alternatively, you could also pass the closure to the constructor).7 -
Code == business ideology. That's why corporations love obfuscated OOP; it's just like their power structures.1
-
Had a lecturer that taught a module on OOP where the entire module was spent teaching how to code on Java while the concept of OOP was just skimmed through at the end of the module. Okay, fine, it's just supposed to introduce OOP, maybe the continuation will go into detail.
The next semester we had the continuation module titled OOP with Java. Entire module was about Javafx. So two semesters later and everyone in the class barely understood things such as polymorphism or abstraction. -
So it's a basics question I know, but is the main difference between abstract classes and interfaces is just that you can use non-abstract methods in abstract classes but not in interfaces ??3
-
What are some books that are a must read or blog posts about OOP and concepts of programming? Should I also pick up some CS books too? I want to learn more to be able to pick up different languages better, I guess understanding the principles of programming would help me achieve that? Thanks in advance!1
-
Just to piss off people some more.
Since everything applies across industries.
How could design patterns apply to non software industries?4 -
There is a book or list of videos that you guys recommend to learn better practices in the world of OOP?undefined developer programmer spring dev laravel object orientation programming java spring framework php oop2
-
I'm starting to gain a dislike for OOP.
I think classes make it easy for me to think of the entities of a problem and translate them into code.
But when you to attempt to test classes, that's when shit hits the fan.
In my opinion, it is pointless to test classes. If you ever seen test code for a class, you'll notice that it's usually horrible and long.
The reason for this is that usually some methods depend on other methods to be called first.
This results in the usual monolithic test that calls every goddamn method on the class.
You might say "ok, break the test into smaller parts". Ok. But the result of that attempt is even worse, because you end up with several big tests cases and a lot of duplicate code, because of the dependency of some methods on others.
The real solution to this is to make the classes be just glue: they should delegate arguments onto functions that reside on its own file, and, maybe afterwards emit events if you are using events.
But they shouldn't have too much test code classes though. The test code for classes should be running a simple example flow, but never doing any assertions other than expecting no exceptions.
For the most part, you'd be relying on the unit testing that is done for each delegated function.
If you take any single function you'll see that it's extremely easy to write tests for it. In fact, you can have the test right next to the fuction, like <module>.xyz <module>.test.xyz
So I don't think classes shouldn't be used at all, they should just be glue.
As you do normal usage of this software this way, when a bug is discovered you'll notice that the fix and testing code for this bug is very usually applied to the delegated functions instead of being a problem of classes.
I think classes by themselves sound sane in paper, but in practice they turn into a huge fucking messes that become impossible to understand or test.
How can something like traditional classes not get chaotic when a single class can have x attributes and y methods. The complexity grows exponentially. And sometimes more attributes and methods are added.
Someone might say "well, it's just the nature of problems. Problems can have a lot of variables".
Yeah, but cramming all of that complexity into a single 200 lines class is insanity.12 -
Good tips to move more into PHP OOP?
Been writing procedural PHP for long time - now I need to step it up ASAP.a6 -
I have to let it out :
- Javascript is not Java
- classes in Javascript are bad
- Yes OOP can be done without classes2 -
How should I explain to my colleagues why to use a object oriented approach or even dependency injection when they write mostly only static methods in our projects?
Points like testing and maintenance don‘t sadly work.2 -
I am in a slump. I keep writing spaghetti code. Is there any platform where I can practice Object Oriented principles?1
-
!rant
had to give a short presentation on the origin of OOP at work. It turned into a neat little discussion on what OOP means to you based on your experience and what you've been taught. I had always thought it just meant working in terms of objects and polymorphism, inheritance, etc. were good practices.
Found it interesting that when I started reading into Simula, Smalltalk and Alan Kay's work, early 'uses' of OOP were different from each other and today. To me it seems it have originated obviously, from the desire to work with real world objects but branching off to being more closely related to the actor model and the idea of message passing.
Was wondering if anyone else has looked into this topic or has their own opinions based on experience.1 -
June 2017:busy with oop in my cs101 course
August 2017:Still busy with oop
And I continue to hit my head against the desk when he says writing classes in Python is exactly the same as classes in Java.1 -
!rant
Just found my first piece of code I wrote 12 years ago, back then OOP was still the thing, man I literally fucked up everything you could fuck up about shared state. Why exactly have we never found a solution for that shit? -
Newbie here ! What do experience pro grammars think of the recent wave of “OOP is garbage” comments on the internet ? Is OOP truly on the decline ? Or is it that OOP should be a feature of a language while coding rather than a “everything is an object” mentality.5
-
Last week i met my teacher for my final project. He said i must compare 2 method that written in journal with the program that i make. I said okay i will do that.
Today i showed him the oop and mvc journal he said both of then is not a method. Method should have a calculating formula you must compare a method that you can calculate and make a new formula with both of the journal.
Can someone tell me if that is wrong or not? Im confused. Is oop and mvc does have calculate formula? As far as i know oop and mvc only have relationship between the object.1 -
visual basic dotnet
ComboBox and ListBox both have Items property, and also both are descendants from ListControls
but ListControls have no Items property
do those developers understand object oriented programming correctly?1 -
I have a dream
That one day
I will find a succinct explanation
To the meaning of and differences between
DAOs, Repositories and Services. -
I'd strongly advise to learn some basic about OOP and a commonly used programming language and not go down the tutorial rabbit hole and rather try stuff out.1
-
❓Question:
I've recently been introduced to reactive programming, and I'm wondering some things about it
- How new of a concept is it?
- Can it be declared as a third type of programming compared to OOP & FOP?
- How common is it? -
What is ploymorphism??? Im new to oop, and wanna learn more abt it. Preferably in examples from pascal or cpp.13
-
That dude fresh from learning getters and setters in Intro to OOP calling your SOLID design unnecessary complicated
-
Continuing learning a little bit of Java with sololearn. Definitely hard considering I'm coming from Python hahaha. I'm pretty excited to learn Java though because I've always been interested in the possibilities of the language and of learning OOP3
-
Teacher: New idea. Let's use excel for a better management with oop.
*you give a hard think* Alright I can see how this would work
*ten minutes into it* WHO IS HE? THE DEVIL? -
Trying to get anywhere with a final project for my education and am only getting more frustrated... Fuck OOP and documentation!
-
anyone know a good tutorial for unity and its c# api structure? i’m having a hard time wrapping my head around it and i am starting to feel stupid.3
-
having computer sience decans who can actually program well and can explain why they do things a certain way. accepting OOP and procedural code.
-
How to start learning PHP MVC and OOP?
I’m starting a new job and it’s custom software, but I’m coming from a wordpress development background.1