|
|
|
Health › Re: Suleiman Achimugu Is Dead! Coronavirus Kills Ex-MD Of PPMC by Ajibade123(m): 12:46pm On Mar 23, 2020 |
Yenefer: But how can they say he died of covid-19 when he was actually undergoing dialysis, has a complications from diabetes and high blood pressure? When he was tested positive his BP when up the roof. Fake news I know him personally for those of u insulting me I am beginning to suspect you who are you gan gan?? you seems to have a theory for everything |
|
|
|
|
|
|
|
Programming › Re: I Need Help In Object Oriented Programming by Ajibade123(op): 6:58pm On Mar 22, 2020 |
MT: Let me give you a little scenario that might help you. Let us say in order to cook soup, you require 2 steps:
First Step - You grind pepper using the blender. Second Step - You pour the pepper into the pot.
In order to write this in code, you can either go procedural way or OOP way.
For the procedural way, you can write TWO separate functions (let's call the function name - GrindPepper() ) to grind pepper and then write another function (let's call the function CookPepper() ) for cooking the pepper inside the pot. Yes the code will work as you planned.
Another way is to see everything as an Object. You can treat the blender as an object and the Pot as an Object. How? you ask me. Well by developing code for the blender and the pot. See sample code like this:
class Cooking { public void Blender(var Items) { //this code contains how u intend to blend }
public void Pot(var Items) { //this code contains how to cook }
}
Now the thing is this code will achieve the same result as the code for the procedural BUT the difference is massive. For the procedural way, if you need to blend any other object, let us say okro, you will need a brand new code which you will have to rewrite to handle it. The same thing if you want to cook any other thing, let us say Rice. The code in the procedural function is tied to "grinding pepper" and "cooking pepper".
With the OOP way, the blender can blend ANYTHING (just pass the object into the method) and the pot can cook anything (just pass the item you want to cook into the pot). So the OOP make the code to be REUSABLE and FLEXIBLE.
In real life scenario, when you are confronted with a scenario, you need to know how to identify OBJECTS and how to identify METHODS and how OBJECT interracts with another OBJECT (Class Diagram). That is another scenario entirely.
I hope this gives you the head up you require in your journey into programming. wow you are a bomb |
Programming › Re: I Need Help In Object Oriented Programming by Ajibade123(op): 6:56pm On Mar 22, 2020 |
Cakephp: Same question I was about to ask. Maybe a private school.
OOP is easier than procedural methods.
I was more confused than you when I started learning OOP but then I discovered it was the method of teaching that made it look complicated.
The only way you can understand the topic is by working on a real life application. how can I get to really like it bro... about the teaching method don't let us even go into that one |
Programming › Re: I Need Help In Object Oriented Programming by Ajibade123(op): 6:54pm On Mar 22, 2020 |
MT: If you can answer this question. Why do we have object programming when we have function in procedural languages?. That will open a whole lot of windows to understanding the reason for object oriented programming. If you need more help, feel free to ask. I don't understand |
Programming › Re: I Need Help In Object Oriented Programming by Ajibade123(op): 6:52pm On Mar 22, 2020 |
|
Programming › Re: I Need Help In Object Oriented Programming by Ajibade123(op): 6:52pm On Mar 22, 2020 |
shegzhkn: you attend which school ?? University of Lagos |
Health › Re: Three New Cases Of Coronavirus Confirmed In Nigeria, Totaling 25 Cases by Ajibade123(m): 8:36am On Mar 22, 2020 |
Yenefer: This whole coronahoax is just a test run to see what they can get away with. Judging by the peoples reactions so far....the deep state has us by the short and curlies. And they know it.
ever heard of H1N1. It was 100 times worse and no one noticed. This virus is real but the severity of the situation has been blown way out of proportion for political reasons. The constitution was too much trouble and needed to be scrapped. They have succeeded.
Crazy world we are living in right now. Almost makes you wonder if something else isn’t brewing while everyone is preoccupied with this Coronavirus. �
That is precisely what all of us should be thinking. Coronavirus isn't what it seems; the timing is too convenient and the numbers don't wash. Follow the timeline, the locations, places most affected, and you'll start to see the picture. Some of it is connected to the Epstein/Weinstein/Clinton/Winfrey (YES! WINFREY) sex-trafficking ring. Weinstein was recently sentenced to 55 years for perving on CONSENTING women and his sentence was reduced to 23 years as the result of a plea deal. Following his sentencing, several billionaire CEO's have resigned and multiple celebrities and politicians have suddenly "contracted the virus." There will be more resignations, more sudden (and convenient) celebrity/politician infections in an effort to save face. 600 people were recently arrested in a sex trafficking/corruption investigation that has spanned nearly 20 years. On the other side of the coin, the data doesn't add up. We have no way to confirm the number of infections and deaths the media is reporting. Just as China has completely manufactured the nature of the virus and their recovery, the government and media are deliberately fabricating the number of infections and deaths to push for a "vaccine" that will actually cause more sickness and death than their supposed virus (which wasn't a virus). Understand this: the vaccine is the actual goal, not curbing the virus. The media is deliberately strewing the data and drumming up public hysteria to push this goal forward. Do some research on 5G frequencies and their effect on the human body, and you'll see China's "virus." Wake up, people. We are witnessing one of the largest scale False Flag psy-ops we've seen in decades. More than 50,000 die from influenza each year and the media is completely silent yet, the entire nation is facing imminent lockdown and the media is pimping hysteria non-stop over a virus with a 98% recovery rate, with zero evidence to support their data. If you're not smelling something fishy by now, you need your heads examined. Stop listening to the media. Turn off your tv, put down the phone, and stop falling for the lie we're being fed. It's NOT a pandemic! Aunty Yenefer people are dying all these theories you are putting down won't help matters |
Programming › I Need Help In Object Oriented Programming by Ajibade123(op): 3:12pm On Mar 21, 2020 |
I ain't a guru in programming. I started programming about a year ago as per computer science student. so far in school we have treated languages like Vb.net, and C but in each of these languages we didn't really go too deep. for the vb.net I think we stopped at conditional statements or so but for the C we did some basic aspect like functions, arrays and little of pointers, we briskly treated stack and heap but didn't go any further than just the explanation. Now this semester we are doing python which is an object oriented programming language and the whole concept of object, class, inheritance and polymorphism is really looking so strange and confusing.... please I really need any sort of help you can offer to me I really like programming but this is starting to confuse me...our programming classes right from year 1 is nothing to right home about we learn majority of if ourselves I tried reading through the recommended text but I still don't grab it |
Programming › Re: The Secrets Of Programming That Only 5% Of Programmer's Know by Ajibade123(m): 2:46pm On Mar 21, 2020 |
pajosh: Sorry guys for being offline recently ... The name of the tutorial is called .MASTER THE CODING INTERVIEW . DATA STRUCTURES + ALGORITHMS when is it starting |
Programming › Re: Computer Science ..... The Worst Course To Study In Nigeria? by Ajibade123(m): 2:30pm On Mar 21, 2020 |
pajosh: We're talking about language stack for beginners not intermediates or pros bro pajosh I sent you a mail I don't know if you have any materials on object oriented programming with python |
Education › Re: My Jamb Result Without Any Expo by Ajibade123(m): 1:23pm On Mar 21, 2020 |
all this jambite sef... shebi you are having foolish confidence now choose a federal uni first and you will see that thousands of students had better scores |
Crime › Re: 34 Cultists Arrested In Akwa Ibom. 51 Secret Groups Banned In Schools (Full List by Ajibade123(m): 1:18pm On Mar 21, 2020 |
cultist in secondary School... May God save us Do you wish to work or study in countries like Canada, New Zealand, Australia, Dubai, Germany check my signature |
|
Nairaland General › Re: Can Any Civil Engineer Explain Why This Road Was Constructed This Way? by Ajibade123(m): 8:42am On Mar 21, 2020 |
which road is this?? |
|
|
Family › Re: How To Divorce? My Sister's Husband Is About To Kill Her. by Ajibade123(m): 11:49pm On Mar 20, 2020 |
NdiaraIGBO: Kiaka8 ode! sometimes I wonder how a man will raise his hands and beat a woman once or twice...it just look too stupid to me that some foolish guys actually exist |
|
|
Education › Re: Will I Get Medicine & Surgery In EKSU With 284 As JAMB Score? by Ajibade123(m): 11:21pm On Mar 20, 2020 |
MZrapper: I didn't insult your mum and will never come that low. I only made a point and it's not even insulting. I wrote jamb over two decades ago, you haven't been birthed by then and obviously your mom wasn't even married then. It's not surprising if an asinine twit won't get my point. Common sense is a very expensive commodity. no one will believe you wrote jamb 2 decades ago...your comments on this thread feels like you are a dumb naive secondary School girl that is newly introduced to social media |
|
|