Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,789 members, 7,820,764 topics. Date: Tuesday, 07 May 2024 at 09:08 PM

Harryobas's Posts

Nairaland Forum / Harryobas's Profile / Harryobas's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (of 8 pages)

European Football (EPL, UEFA, La Liga) / Re: Arsenal Fans Thread: Finally Reborn! The Red & White Army: FA CUP Champions 2020 by harryobas: 10:54am On Jul 30, 2012
1025:

is not about you alone. everything and everybody in arsenal likes it when it is coming from a troubled club, relegated club or free agent. in fact, anything cheap or free. i will not be surprise one day if arsenal as a club will turn into beggars who plead for other clubs to dash them players.

Na wetin concern u if arsenal turn to beggars.
European Football (EPL, UEFA, La Liga) / Re: Arsenal Fans Thread: Finally Reborn! The Red & White Army: FA CUP Champions 2020 by harryobas: 4:03pm On Jul 27, 2012
1025:

wow, this boy fine to join trophy-less league.

Why are u jealous?
European Football (EPL, UEFA, La Liga) / Re: Cristiano Ronaldo & Messi Among The 32 Nominees For Uefa's Best Player In Europe by harryobas: 5:58pm On Jul 24, 2012
1025:

the whole world according to u know but one man doesn't so am here to convince him.

uncle, if these reasons qualifies messi to win this year's award which i am not here to context but i ask again, how did he win the 2011 award after his below per outing in 2010?

Uncle, maybe u should ask sepp blatter i think he will be in a much better position to answer your question.
European Football (EPL, UEFA, La Liga) / Re: Arsenal Fans Thread: Finally Reborn! The Red & White Army: FA CUP Champions 2020 by harryobas: 5:00pm On Jul 24, 2012
1025: this is where the problem is. winning these types of games with all these nursery school boys. at the end of the day, the club and their fans will be celebrating as if they have landed.

Whatever dude u are entitled to your opinions. Nobody gives a toss what u think.
European Football (EPL, UEFA, La Liga) / Re: Olivier Giroud Signs For Arsenal by harryobas: 3:47am On Jul 24, 2012
1025:

@harryobas,
from what u wrote above, u lack what to say again. so thank u for reading my rubbish.

Abeg piece off with your rubbish beer palour analysis.
European Football (EPL, UEFA, La Liga) / Re: Cristiano Ronaldo & Messi Among The 32 Nominees For Uefa's Best Player In Europe by harryobas: 3:37am On Jul 24, 2012
1025: i know you are not done yet with this topic but are doing ur best to find a round about these pictures. i have decided to follow u up henceforth with those pictures that you hate seeing. don't forget the picture of bosquet fainting as my torres closed the game without the consent of the ref.
anyways, sleep but even in ur deep sleep remember that a team sent out some players against ur team at standford bridge and then followed u to ur home and now, that same tame are here to make sure u are reminded of those two legs.

For christ sake the whole world is already aware that chelsea are european champions so what exactly is your point?
Programming / Re: Design Patterns by harryobas: 12:16pm On Jul 23, 2012
Chimanet: Service facade pattern, i hide all my business logic and data access code behind a service interface. From my presentation layer or web layer i jst call my service public methods

This is more like a session facade or a controller object in a model-view-controller(MVC) architecture.
Programming / Re: Design Patterns by harryobas: 3:07pm On Jul 21, 2012
@Chimanet what other design patterns are u familiar with?
Programming / Re: Design Patterns by harryobas: 2:49pm On Jul 21, 2012
Chimanet: Who among us is a java developer? D Calendar class, Calender.getInstance() is d clearest example of factory pattern in the java class library

I am a C# developer but i think your above Calender.getInstance() method looks more like a singleton to me than a factory
Programming / Re: Design Patterns by harryobas: 2:29pm On Jul 21, 2012
Chimanet: Wen u use a factory class, u jst do Factory.getVehicle(parameter), because d getVehicle method is jst lyk a global function. in java we call it a static method, u dnt need 2 create an instance of d factory class (object) in d jvm heap, cos creating an object wit d new operator in java eats up jvm memory and is expensive and cause tight coupling. So factory pattern saves memory, makes our objects loosely coupled, and our code even looks more elegant. No nid 2 b creating objects of factory classes wit new operator. Jst load d class in d jvm and use its static method. Shikena!

You could also implement a factory as a singleton which creates one global instance of the factory class.
Programming / Re: Design Patterns by harryobas: 2:16pm On Jul 21, 2012
Ok i see what u mean, i must confess i am more of a C# developer but i do play around with C++ from time to time.
Programming / Re: Design Patterns by harryobas: 2:13pm On Jul 21, 2012
lordZOUGA:
I defined the class in a header file. I could have included the #IFNDEF pre-processor directive but this is trivial...
So in main.cpp, I do this:
#include "Foo.h"
#include <iostream>
int main(){
int x = 6;

Foo myFoo(x);
int y = myFoo.getFoo();

cout << y;
return 0;


}

this works
Programming / Re: Design Patterns by harryobas: 1:58pm On Jul 21, 2012
@lordZOUGA I guess u are right with regards to inline functions becos inline functions must be defined in every source file in which they are used. This is typically accomplished by defining them in a header file which u must include in each source file that calls the inline functions.
Programming / Re: Design Patterns by harryobas: 1:41pm On Jul 21, 2012
lordZOUGA:
really? How do you suppose inline statements work??
Foo.h
class Foo{
int Foo;
public:
Foo(int num){Foo = num;}
getFoo(){return Foo;}
};
you think the above class won't run?

Are u trying to define a class inside a header file? or are u including the header file in your class definition.
Programming / Re: Design Patterns by harryobas: 1:03pm On Jul 21, 2012
lordZOUGA:
no. In C++, a header file can contain only function defnitions...

No. I still maintain that a header file contains function declarations(prototypes) and not definitions. For example the cout function is declared in the iostream header file but defined/implemented in the standard runtime library.
Programming / Re: Design Patterns by harryobas: 12:30pm On Jul 21, 2012
lordZOUGA:
so, in fact, I can replace a factory class with a function like this in C++;
enum Transport{CAR, BUS};
Vehicle getVehicle(Transport aTrans){switch(aTrans).... Return Car();}
put it in a header file and include it in all class defnitions. Yes?. Or is there an added benefit in making it a singleton? Encapsulation?

A header file in C++ usually contains only function declarations and not implementations so even if u put the function in a header file u will still have to provide implementation in some sort of factory class definition.
Programming / Re: Design Patterns by harryobas: 10:56am On Jul 21, 2012
ekt_bear: In other words:

1. A poorly-designed piece of code
2. State what the problems are
3. Use the factory design pattern to improve it

The purpose of this post was not to teach design patterns as there are many books and web resources that do that already the post was actually aimed at experienced developers who are familiar with and have applied design patterns.
Programming / Re: Design Patterns by harryobas: 10:38am On Jul 21, 2012
lordZOUGA:
an instance of where it can be used?

For example if u are building a class library that contains complex creation logic u can decide to introduce a factory object with the sole responsibility of handling object creation for clients of your library.
Programming / Re: Design Patterns by harryobas: 10:06am On Jul 21, 2012
ekt_bear: Discuss further the factory design pattern. When would you want to use it?

The factory design pattern helps to improve cohesion and promotes separation of concerns by segregating the responsibility of object creation from domain objects to a pure fabrication "factory" object.
Programming / Design Patterns by harryobas: 9:30am On Jul 21, 2012
Hello my fellow nairaland developers, if you have been doing object-oriented design and programming for a long time u certainly must have come across design patterns. Now i am not claiming to be a design patterns guru but i do apply some design patterns on my development projects from time to time and i have found them very useful. The patterns that i apply on a regular basis are singleton, abstract factory and facade.If there are any developers out there applying patterns i would like to know which patterns u are applying and your experiences with them.
European Football (EPL, UEFA, La Liga) / Re: Cristiano Ronaldo & Messi Among The 32 Nominees For Uefa's Best Player In Europe by harryobas: 8:30am On Jul 21, 2012
1025:

@ddippset,
exactly my point. is not about majority uncle rather it is about those who vote. in the same 2010, iniesta and xavi were the first and second runners up. if sneijder did not merit first, are u saying the majority did not see anything to qualify him among the first 3? iniesta on his own said sniedjer merited a place in the first 3. in 2002, eto was crowned the african best against the expectations of many that okocha was the right man. canavaro the italian defender was made the best player in 2006 abi 2007 but many complained. havalang the former fifa president is facing corruption charges now over issues of many years ago and these are some of the things bad about football.
one time, we were told that messi helped barca to win everything so he merited the ballon dór and some other times a players helps his own club do same but was denied.
u mentioned messi going to win because of 4 trophies and i reffered u to someone who won more than 4 and took his country to the world cup finals and was denied now you brought up the issue of voting.
we are nigerians and we vote and we know that here most results are known before the vote propare.
uefa as an organised body is supposed to come up with terms and conditions for winning this ballon d 'or apaart from using compromised officials.
the man that uefa used to make a mess of chelsea vs barca in 2009 is part of a body that decides who win things abi?
platini made his mind open from the beginning of last season that he wanted a barca-madrid champions league finals. what if it was a case of voting? will chelsea be voted 10th?

There is a big difference btw best team and best individual player. Try to understand this difference
European Football (EPL, UEFA, La Liga) / Re: Arsenal Fans Thread: Finally Reborn! The Red & White Army: FA CUP Champions 2020 by harryobas: 8:24pm On Jul 20, 2012
1025:

yes ooo. i like talking about arsenal not just a lot but too much a lot.i do so because is my choice and i checked with the forum rules and regulations and there is nothing wrong with it. like u said, players go and players come. pls help me tell other fans here that players are liable to move from time to time. arsenal fans like calling players names whenever the ask for increment and transfer.
maybe i will continue talking until change is achieved.
freedom of speech and movement are what i am enjoying here.

So what name is van persie been called now?
European Football (EPL, UEFA, La Liga) / Re: Arsenal Fans Thread: Finally Reborn! The Red & White Army: FA CUP Champions 2020 by harryobas: 7:09pm On Jul 20, 2012
1025:

i was answering someone who talked to me but since u have joined the party, WHEN IS VAN PERSIE GOING? it is better u ppl release him on time instead of ur usual gara gara of him no dey go anywhere and at the end of the day, he will still go.
all of una wey be nigerian arsenal fans, una no sabi how to direct ur anger. u have every right to be angry but not at me but at wengay. meanwhile, u must know that the new policy in arsenal now is, raise and sale. trophy no dey their agenda so live with that of join the moving trains.

You like to talk about arsenal a lot, maybe u admire arsenal. As for van persie weather he goes or stays life must go on that's football players move from club to club van persie is not the first and he will not be the last.
European Football (EPL, UEFA, La Liga) / Re: Arsenal Fans Thread: Finally Reborn! The Red & White Army: FA CUP Champions 2020 by harryobas: 3:17pm On Jul 20, 2012
1025:

uncle, are u just waking up from ur sleep? pls take ur frustrations back to sleep. the last time i checked, na deluded monkies dey quick observe delusion.

What is your problem with arsenal, if arsenal don't want to spend like your beloved chelshit is it your business? Please leave arsenal alone and focus your time and energy in supporting your team.
Programming / Coding Standards by harryobas: 11:55am On Jul 13, 2012
Many software development organizations impose coding standards on programmers, and these standards can range from general principles to very specific requirements. If you'd like to look at a more complete set of coding standards used in a major collaborative (university, government, and industry) development setting, the ACE Software Development Guidelines document, which the ACE developers use in daily practice, is a good place to start.
Programming / Code Refactoring by harryobas: 7:35pm On Jul 08, 2012
Code refactoring is a "disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior",undertaken in order to improve some of the nonfunctional attributes of the software. Advantages include improved code readability and reduced complexity to improve the maintainability of the source code. According Joshua Kerievsky, by continuously improving the design of code, we make it easier and easier to work with. This is in sharp contrast to what typically happens: little refactoring and a great deal of attention paid to expediently adding new features. If you get into the hygienic habit of refactoring continuously, you'll find that it is easier to extend and maintain code.
Programming / Re: [Project] 2012 Summer Of Code - WORK HAS COMMENCED by harryobas: 10:43pm On Jul 03, 2012
@kobojunkie Do u have a sort of baseline architecture for this project that can serve as a quick learning aid for interested developers who which to know more about the project with a view of joining the project at some point.
Programming / O-O Design Code Smells by harryobas: 4:06pm On Jul 03, 2012
Hello fellow nairalanders just want to share a few O-O design “Code Smells“(code that can make software design harder to change) with you all. These are just a few of the common smells i have come across from my experience of performing O-O design and code refactoring so please feel free to add to the list below if u think i have omitted any. The list is as follows:

Duplicate code
Long methods
Big classes
Big switch statements
Long navigations (eg, a.b().c().d())
Too much checking for null objects
Data clumps (eg, a Contact class that has fields for address, phone, email etc) – similar to non-normalized tables in relational database design
Data classes (classes that have mainly fields/properties and little or no methods)
Un-encapsulated fields (public member variables)

Note that the above code smells have been listed from the c# programming language standpoint but i believe they are equally applicable to any O-O compliant language(java ,c++ etc).
Programming / Re: Debugging Someone Else's Code: Is There Anything More Painful? by harryobas: 1:21am On Jul 02, 2012
I assume that u are carrying out some form of code maintenance. Well in my opinion it would be a wise idea to use the opportunity to refactor the code if possible to improve modifiability and testability.
Programming / Re: Pls C# Programmers Here? by harryobas: 9:44pm On Jul 01, 2012
Sharpdevelop is also free
European Football (EPL, UEFA, La Liga) / Re: Is Podoski And Giroud Enough To Persuade Vanpersie To Remain At Arsenal? by harryobas: 3:46pm On Jun 30, 2012
1025: madrid,barca, man u and other big clubs are where they are today because of what they did in the past and what they are doing now. at the every season, teams do their best to keep their key players and also go into the transfer market to buy more but in arsenal, the best player every season leaves.
fans are quick to remind us of the invisible 2004 and that is all.


Arsenal is not baca, madrid or man u every club has its own structure and strategy and plan according to their means that's what makes football interesting.
European Football (EPL, UEFA, La Liga) / Re: Is Podoski And Giroud Enough To Persuade Vanpersie To Remain At Arsenal? by harryobas: 1:39pm On Jun 30, 2012
1025:

@harryobas,
stop sounding more frustrated than wenger and the club. this is business and everybody wants the best for himself before the next person. you and your club should be more worried about why it is always arsenal fighting with their players. adebayor, nasri, fabregas and others. there must be something they are not doing right and is affecting the club negatively. it will get to a point where players will not be coming to the club because of this issues of holding tight to someone that wants to go.
you still make a player whose mind is not in the team captain.

So arsenal should size to exist just because van persie wants to leave abi. Weather van persie goes or stays life goes on.

(1) (2) (3) (4) (5) (6) (7) (8) (of 8 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 52
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.