|
![]() |
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
Aron Silvester wrote:Statement: "Recursion provides for a more elegant and quicker solution for most problems."
Recursion provides for a more elegant and quicker solution for most problems
Don't you have to provide a termination point for iteration too? At least an infinite recursion will make its presence felt by throwing exceptions.Les Morgan wrote:. . . in recursion you have to be able to produce a stopping point or a breakout for workable futility. IMO, most programmers cannot do that. . . .
Aron Silvester wrote:What is your opinion on this? TRUE OR FALSE?
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Some don't even have random‑access lists and any lists are implemented as a cross between a stack and a linked list; those “lists” have another performance overhead that it is only possible to traverse them by recursion.Jesper de Jong wrote:. . . Some functional programming languages do not even have loops and the only way to loop through something is by using recursion. . . .
Campbell Ritchie wrote:
Don't you have to provide a termination point for iteration too? At least an infinite recursion will make its presence felt by throwing exceptions.Les Morgan wrote:. . . in recursion you have to be able to produce a stopping point or a breakout for workable futility. IMO, most programmers cannot do that. . . .
You sound very pessimistic about other programmers there. How much evidence do you have for that assertion?
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
Les Morgan wrote:I have several. I have had a few projects that were "not possible" according to feasibility studies. When a client mentioned one, I took interest--I am always interested in the impossible. I told the client I would do that part of their project for free and not have it take any longer in the timeline. I was a delightful little 50 to 60 lines of code that made the entire project worth doing and gave the client exactly what they wanted in features for the project.
I have been asked by competing consulting firms if they could send someone over to see what I was doing and how a portion of a project functioned--recursion--they could not grasp the concept.
I had a nice little routine in a project what was guaranteed to recurse no more than 10 times, well within the limits of the machines resource limits, but a year later they had to replace it because nobody in their IT/IS department could follow what was going on.
I sent in a small, 20 lines, of code for a programming example once--recursive code from a project--nobody in the interview panel could figure out what it did, even though it was commented heavily, I got the job, but months later one of their upper managers that I became friends with told me that nobody could figure out what or why the code worked, but it did, and their top programmer basically said: "I've not a clue, but it is very obvious that he does."
In my college it was required for CS graduation candidates do consulting in the computer labs--basically field question from the entire school. I chose the CS/EE departments computer labs and fielded question after question on how to implement recursion for assignments. Helped TA's (grad students) figure out problems for programming recursion...
I have been Sr Programmer and Lead developer in many of my jobs... I always do sitdowns with my developers to understand what experiences they have had and what knowledge base they are coming from--very few, even those with degrees, have understood recursion.
I was able to get a small 3 question series inserted into our interview questions for prospective programmers -- this was for all levels of programming, but was right out of the CS 101 books -- and well over 1/2 of the candidates missed all 3 questions. These were the candidates that already received the blessing of the HR department and Admins, basically they were up for a rubber stamp and a I think they can play well with our team type of endorsement. Probably needless to say, we did not hire them. We gave the same test to everyone from just out of college to 12+ years of experience for programmers.
need I go on?
One thing that I have become "enlightened" about: many of the programmers can get buy with just doing what it is that they normally do--basically by wrote--but they really don't know a lot of fundamentals in programming. I am not talking about knowing a language inside and out, but just knowing how to layout a problem and what needs to be done. In almost every where I have worked, I have become known as the "programming smith", not the "language smith", but when someone wants to know how to do something--they often find their way to my office, or in my email, or a phone conversation.
Campbell Ritchie wrote:
Don't you have to provide a termination point for iteration too? At least an infinite recursion will make its presence felt by throwing exceptions.Les Morgan wrote:. . . in recursion you have to be able to produce a stopping point or a breakout for workable futility. IMO, most programmers cannot do that. . . .
You sound very pessimistic about other programmers there. How much evidence do you have for that assertion?
Aspiring Java Programmer.
Aron Silvester wrote:Or is it just from thousands of hours coding, or maybe both?
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Aron Silvester wrote:
I am now more interested about you than the question I posted. In your post you mentioned about fundamentals, do you think that getting really good and understanding the basic fundamentals of programming has the potential to separate you from majority of the programmers? Is that why you've been dubbed as the "programming smith". Or is it just from thousands of hours coding, or maybe both?
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
Good night. Drive safely. Here's a tiny ad for the road:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|