₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,327,347 members, 8,430,544 topics. Date: Saturday, 20 June 2026 at 04:51 PM

Toggle theme

The Greatest Programmer On Nairaland - Programming (29) - Nairaland

Nairaland ForumScience/TechnologyProgrammingThe Greatest Programmer On Nairaland (77051 Views)

1 2 3 ... 26 27 28 29 30 31 32 ... 39 Reply (Go Down)

Re: The Greatest Programmer On Nairaland by seunthomas(op): 8:07am On Feb 27, 2016
@guru01 its a waste of time to argue with this fellow called @airsaylongcon.
Re: The Greatest Programmer On Nairaland by airsaylongcon: 8:10am On Feb 27, 2016
seunthomas:
Not all functions return a value. some functions return void and in primitive languages void is not a type. I can write the program but i would be rubbing your already wounded ego. If i stop discussing with you right now i would be vindicated. Already trashed u in my own question, have the solution to your own challenge and even help confirm that a fellow programmer @guru01 got the right answer in the question you asked him, which by the way you did not know the answer of. What more do you want na?
Seunthomas seunthomas seunthomas. Your level of reckless bravado is ridiculous. So are you saying you can write a recursive function that can terminate via stack overflow or out of memory and that function will return something (say void)?

If yes show me an example
Re: The Greatest Programmer On Nairaland by seunthomas(op): 8:13am On Feb 27, 2016
airsaylongcon:
Seunthomas seunthomas seunthomas. Your level of reckless bravado is ridiculous. So are you saying you can write a recursive function that can terminate via stack overflow or out of memory and that function will return something (say void)?

If yes show me an example
stop tempting me na. Is it compulsory i must indulge your folly?? If you promise to give me MTN recharge card of just 1500 to the email of my choice if am correct, i will answer it. if not maintain your peace.
Re: The Greatest Programmer On Nairaland by timtoday: 8:36am On Feb 27, 2016
seunthomas:
A recursive function can actually terminate without an exit path
a. scenerio out of memory (know this about java)
b. stack overflow( saw this online)
For all intent and purpose, why would one want to terminate a recursive function "allowing" stack overflow or scenario of out of memory? This has nothing to do with side taking.

Whether a function return a data type or not (in the case of void, though void is consider a data type in a way), that should not make a program "crash" as an exit path. Am sure that wouldn't be a good program at all, except you are probably showing a case that causes such. But if the purpose of the function or program is to solve a specific issue but instead crashes, I don't think that is acceptable.
Re: The Greatest Programmer On Nairaland by seunthomas(op): 8:41am On Feb 27, 2016
timtoday:
For all intent and purpose, why would one want to terminate a recursive function "allowing" stack overflow or scenario of out of memory? This has nothing to do with side taking.

Whether a function return a data type or not (in the case of void, though void is consider a data type in a way), that should not make a program "crash" as an exit path. Am sure that wouldn't be a good program at all, except you are probably showing a case that causes such. But if the purpose of the function or program is to solve a specific issue but instead crashes, I don't think that is acceptable.
Thanks for your observation ohh. But the question asked if a recursive program could exit without an exit path and the answer is YES. those examples are just those that could come to mind, like i told that bros that likes to argue there are many scenerios and if we now put more programming languages into play i know some languages by design that dont even require a recursive function to have an exit loop.
Re: The Greatest Programmer On Nairaland by timtoday: 8:55am On Feb 27, 2016
seunthomas:
Thanks for your observation ohh. But the question asked if a recursive program could exit without an exit path and the answer is YES. those examples are just those that could come to mind, like i told that bros that likes to argue there are many scenerios and if we now put more programming languages into play i know some languages by design that dont even require a recursive function to have an exit loop.
But the "thought" of such EXIT is horrifying to say the least. While on some system you could be "presented" with BSOD - blue screen of death. So, am sure that is why asking such question and giving an answer without explanation would raise some dust in so many corners and quarters.
Re: The Greatest Programmer On Nairaland by airsaylongcon: 8:59am On Feb 27, 2016
seunthomas:
stop tempting me na. Is it compulsory i must indulge your folly?? If you promise to give me MTN recharge card of just 1500 to the email of my choice if am correct, i will answer it. if not maintain your peace.
If in return you will give me MTN 400 if you are wrong and I am right then we have a deal
Re: The Greatest Programmer On Nairaland by seunthomas(op): 9:01am On Feb 27, 2016
airsaylongcon:
If in return you will give me MTN 400 if you are wrong and I am right then we have a deal
Deal....
Please note your question was not language specific and i just need to come up with a
recursive function that can actually terminate without an exit path?

Right??
Re: The Greatest Programmer On Nairaland by airsaylongcon: 9:03am On Feb 27, 2016
timtoday:
But the "thought" of such EXIT is horrifying to say the least. While on some system you could be "presented" with BSOD - blue screen of death. So, am sure that is why asking such question and giving an answer without explanation would raise some dust in so many corners and quarters.
You are welcome to the thread.

@all I am currently stuck in my estate's residents association monthly meeting. I will come back to destroy seunthomas regarding the challenge I threw him. Hopefully he will send me my N400 recharge card
Re: The Greatest Programmer On Nairaland by airsaylongcon: 9:06am On Feb 27, 2016
seunthomas:
Deal....
Please note your question was not language specific and i just need to come up with a
recursive function that can actually terminate without an exit path?

Right??
Who is talking of the recursive question? I am talking of the struct question I gave you. But since you wanna write a recursive function then be my guest. Note that it must satisfy one of two criteria you mentioned; exit due to stack overflow or exit due to out of memory. Let's rumble
Re: The Greatest Programmer On Nairaland by seunthomas(op): 9:07am On Feb 27, 2016
airsaylongcon:
You are welcome to the thread.

@all I am currently stuck in my estate's residents association monthly meeting. I will come back to destroy seunthomas regarding the challenge I threw him. Hopefully he will send me my N400 recharge card
You too make mouth. Read online about the "halting problem" though i will gladly eat your money, i know you wont honor your own end of the deal.
Re: The Greatest Programmer On Nairaland by seunthomas(op): 9:08am On Feb 27, 2016
airsaylongcon:
Who is talking of the recursive question? I am talking of the struct question I gave you. But since you wanna write a recursive function then be my guest. Note that it must satisfy one of two criteria you mentioned; exit due to stack overflow or exit due to out of memory. Let's rumble
I know get your time. You own is to create problems and not solutions. I solve problems that's what real programmers do by the way.....
Re: The Greatest Programmer On Nairaland by FincoApps(m): 9:17am On Feb 27, 2016
seunthomas:
Thats programming. Whats the point of writing code that wont run. If i did not run the code wont have seen all those mishots na. LOL
Even with your great experience since the 80s ?
Re: The Greatest Programmer On Nairaland by seunthomas(op): 9:36am On Feb 27, 2016
FincoApps:
Even with your great experience since the 80s ?
You are just plain bitter. The fact that every statement you made about me has been wrong makes you angry. Kindly enlighten me how a person can create a program without running,compiling/interpreting it. It seems you have discovered something new. Ohh i forgot you have a php background and that makes you forget that when you go to the browser to check you code, you are actually running it.
Can you actually contribute anything here asides useless sarcasm.
LOl
Re: The Greatest Programmer On Nairaland by FincoApps(m): 9:55am On Feb 27, 2016
seunthomas:
Dont mind that guy bro. The question he asked you. Your answer was correct. i was stressed up with real worker else i could have seen it clearly. The guy no sabi anything at all. He just they rub him ego. LOL.
I think you are still stressed. When I saw this question

airsaylongcon:
A procedure "CallBack" is recursive for *some* inputs. If this procedure is guaranteed to terminate, then which of the following is not true.

a) CallBack has a local variable
b) CallBack has an path of execution where it is not recursive (doesn't call itself)
C) CallBack refers to a global variable or has one or more parameters

The name of the procedure (or function if you like) is CALLBACK.

This procedure is recursive if it gets certain values (eg 3 or 7 or 199 etc)
For other values it is not recursive.

Irrespective of whether it gets a value that makes it recursive or not recursive it WILL terminate.

Which of the options in A-C is not true given the above qualities of the procedure
I was not sure of the answer but I was 100% sure it isn't B. Stop talking about stackoverflow. Stackoverflow is not guaranteed unless you purposely do it in which case would be stupid of the programmer to purposely cause an error just to end his own recursive function.
Re: The Greatest Programmer On Nairaland by Nobody: 9:59am On Feb 27, 2016
dhtml18:
See now, he cannot even remember how to declare a struct anymore, that section of his memory has been overwritten. . .due to old age in programming.

var ProgYear, GitHub, Mouth, SThomas

SThomas = nairaland.GetProgrammerByChestBeating('SeunThomas' ) ;

if(ProgYear=="1998" && GitHub==" " ) {
alert('Fake Programmer') ;
SThomas.innerPROGFORUM= "This guy should be deleted" ;
} else {
Mouth="Recursive Loop" ;
alert(Mouth);
SThomas.innerPROGFORUM = "His mouth is in recursive loop" ;
}
Re: The Greatest Programmer On Nairaland by Nobody: 10:07am On Feb 27, 2016
asalimpo:
This thread reminds me of a movie i watched recently.
Focus.

There's was a chronic gambler, that betted on everything.
If he were here watching this thread spin, I'm sure he'd have bet that the
the the thread will (or will not) hit n pages (n=10,20,21).

#To think that yesterday i was exclaiming that it had hit 8 pages!!
Will Smith is a bad guy bro, watched that last year tho.
Re: The Greatest Programmer On Nairaland by FincoApps(m): 10:08am On Feb 27, 2016
seunthomas:
You are just plain bitter. The fact that every statement you made about me has been wrong makes you angry. Kindly enlighten me how a person can create a program without running,compiling/interpreting it. It seems you have discovered something new. Ohh i forgot you have a php background and that makes you forget that when you go to the browser to check you code, you are actually running it.
Can you actually contribute anything here asides useless sarcasm.
LOl
LoL, dude, have you noticed that I'm following you on NL ? That shows I'm not bitter at all. I'm following you because from time to time, you talk sense. And trust me, I don't care about being right about you.

Also stop assuming, I only started real PHP last year, I have conc Java background because I started programming when BlackBerry Java phones and Nokia S40 phones were still popular.
Re: The Greatest Programmer On Nairaland by Nobody: 10:17am On Feb 27, 2016
seunthomas:
stop tempting me na. Is it compulsory i must indulge your folly?? If you promise to give me MTN recharge card of just 1500 to the email of my choice if am correct, i will answer it. if not maintain your peace.
You must be a broke programmer too.
Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:18am On Feb 27, 2016
FincoApps:
LoL, dude, have you noticed that I'm following you on NL ? That shows I'm not bitter at all. I'm following you because from time to time, you talk sense. And trust me, I don't care about being right about you.

Also stop assuming, I only started real PHP last year, I have conc Java background because I started programming when BlackBerry Java phones and Nokia S40 phones were still popular.
Ok ohhh my brother with java background. If really you say you know java, do you know that an out of memory exception can cause an application to exit in an infinite loop? There are many scenerios that can make a recursive loop that does not have an exit function to terminate. Some languages by design are even implemented that way. I cant remember the language very well but i know one of this modern languages we use has that baked into it. That you dont know something does not mean other people are dumb or dull headed ohhhhh. Thanks for following me ohhhh. But try not to make it a habit of talking about things you dont know about. Its better to just watch and learn.
Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:20am On Feb 27, 2016
DanielTheGeek:
You must be a broke programmer too.
I am ohhhh. I spent 2 days arguing with you instead of working....
If you refuse to learn today, then i give up na.
Dont get to 40 before u make that change(like they say a fool at 40 is.......)
Re: The Greatest Programmer On Nairaland by Nobody: 10:35am On Feb 27, 2016
seunthomas:
I am ohhhh. I spent 2 days arguing with you instead of working....
If you refuse to learn today, then i give up na.
Dont get to 40 before u make that change(like they say a fool at 40 is.......)
Old man chill, I wasn't arguing with you for the past two days.. I have been at work, solving real programming problems. I only stop by on NL once in a while.

And before you drag me into your chest-beating propaganda let me make this clear, I may be quiet about the programming questions and answers on this thread, that doesn't make me a learner. I don't need to start saying what I have done self or my stack because you (started programming in 1998) have nothing to show from your past.

BTW, you must have had the 'fool at forty' experience already sir...thanks for sharing, I will definitely not be like you when I get to forty.
Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:42am On Feb 27, 2016
DanielTheGeek:
Old man chill, I wasn't arguing with you for the past two days.. I have been at work, solving real programming problems. I only stop by on NL once in a while.

And before you drag me into your chest-beating propaganda let me make this clear, I may be quiet about the programming questions and answers on this thread, that doesn't make me a learner. I don't need to start saying what I have done self or my stack because you (started programming in 1998) have nothing to show from your past.

BTW, you must have had the 'fool at forty' experience already sir...thanks for sharing, I will definitely not be like you when I get to forty.
From the way you have been talking. You are probably bros too me na. Mind you i started coding early courtesy of an uncle who gave a book on programming around 90's. I am not saying you are a fool ohhhh. But that you need to take care ohhh considering the way you have been talking so far. Me i no get point to prove na. Na you dey always try to prove point and God don shame you na. Initially we started out about if i was indeed a programmer. And frankly any right thinking follower of this thread will know beyond doubt that am not just a programmer but far superior to your mediocrity. Like you suggested, this was fun. We can still be friends even colleagues...
Re: The Greatest Programmer On Nairaland by Nobody: 10:52am On Feb 27, 2016
seunthomas:
From the way you have been talking. You are probably bros too me na. Mind you i started coding early courtesy of an uncle who gave a book on programming around 90's. I am not saying you are a fool ohhhh. But that you need to take care ohhh considering the way you have been talking so far. Me i no get point to prove na. Na you dey always try to prove point and God don shame you na. Initially we started out about if i was indeed a programmer. And frankly any right thinking follower of this thread will know beyond doubt that am not just a programmer but far superior to your mediocrity. Like you suggested, this was fun. We can still be friends even colleagues...
I understand your point which is valid, but still let us in on what you've done...
Okay forget github.
pastebin?, code snippets on codepaste.net, finished work anywhere? (Website, mobile app any one) or are you just a professor with the theoretical knowledge of programming alone?
Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:57am On Feb 27, 2016
DanielTheGeek:
I understand your point which is valid, but still let us in on what you've done...
Okay forget github.
pastebin?, code snippets on codepaste.net, finished work anywhere? (Website, mobile app any one) or are you just a professor with the theoretical knowledge of programming alone?
YES as you have said ohhh. Na you confer the professorate degree na.
Re: The Greatest Programmer On Nairaland by Nobody: 11:22am On Feb 27, 2016
seunthomas:
YES as you have said ohhh. Na you confer the professorate degree na.
Good, that's all I needed to know fellow programmer.
Now you and your boys can keep on battling, BTW I have had this mentality that Practical programmers are better than the theorists. (I may be wrong tho)
Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:30am On Feb 27, 2016
DanielTheGeek:
Good, that's all I needed to know fellow programmer.
Now you and your boys can keep on battling, BTW I have had this mentality that Practical programmers are better than the theorists. (I may be wrong tho)
You are right again. Enjoy your assumptions.
Re: The Greatest Programmer On Nairaland by asalimpo(m): 11:56am On Feb 27, 2016
seunthomas:
Ok ohhh my brother with java background. If really you say you know java, do you know that an out of memory exception can cause an application to exit in an infinite loop? There are many scenerios that can make a recursive loop that does not have an exit function to terminate. Some languages by design are even implemented that way. I cant remember the language very well but i know one of this modern languages we use has that baked into it. That you dont know something does not mean other people are dumb or dull headed ohhhhh. Thanks for following me ohhhh. But try not to make it a habit of talking about things you dont know about. Its better to just watch and learn.
We've been watching but we've not learnt anything.
You've only talked up 28 pages no code to show. Just talk.
Re: The Greatest Programmer On Nairaland by asalimpo(m): 12:02pm On Feb 27, 2016
seunthomas:
YES as you have said ohhh. Na you confer the professorate degree na.
18 years of programming what dyu have to show? That's the question.
What?
Stop beating round the bush.
You started this fight to challenge dhtml, not run up your mouth .
What have you done. How are you superior to your opponent, that's the koko. Not empty talk.
Re: The Greatest Programmer On Nairaland by seunthomas(op): 12:07pm On Feb 27, 2016
asalimpo:
18 years of programming what dyu have to show? That's the question.
What?
Stop beating round the bush.
You started this fight to challenge dhtml, not run up your mouth .
What have you done. How are you superior to your opponent, that's the koko. Not empty talk.
I have done far more than you and dhtml combined together. And yes you actually learnt a lot(even though you wont admit).
I dont beat around the bush either learn some manners and appreciate me.
I wish you luck, you dont have anything to contribute but criticism. You are not a programmer or have u shown us any proof that u have such skills. You are just a jobless tout on NL looking around for a fight.
Re: The Greatest Programmer On Nairaland by seunthomas(op): 12:11pm On Feb 27, 2016
asalimpo:
We've been watching but we've not learnt anything.
You've only talked up 28 pages no code to show. Just talk.
No code to show. How you go see code na. You are blind during the daytime. Talkative.
Re: The Greatest Programmer On Nairaland by asalimpo(m): 12:13pm On Feb 27, 2016
seunthomas:
I have done far more than you and dhtml combined together. And yes you actually learnt a lot(even though you wont admit).
I dont beat around the bush either learn some manners and appreciate me.
I wish you luck, you dont have anything to contribute but criticism. You are not a programmer or have u shown us any proof that u have such skills. You are just a jobless tout on NL looking around for a fight.
Then show us? Put action where your mouth is.
Or wasnt the purpose of this thread. Rub our faces in the dirt with your prowess, afterall, you were programming before some of us here ever saw a computer?

Show or keep quiet.
1 2 3 ... 26 27 28 29 30 31 32 ... 39 Reply

The Most Popular Programmer On Nairaland 2016 Edition (verification Round)Seunthomas - The Greatest Programmer On NairalandThe most popular programmer on Nairaland 2016 Edition234

10 Reasons Why .NET Is Better Than JavaHow To Hack Your Girlfriend's Whatsapp And Fb AccountMeet Tanmay Bakshi, Boy Who Works For Google And Earns Over N450m Annually