Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: "wooks" <wookiz@xxxxxxxxxxx>
- Date: 10 Jan 2006 11:01:42 -0800
Willem wrote:
> wooks wrote:
> ) A list of items is either empty (the empty list).
> ) Or the concatenation of an item and a list.
> )
> ) There that didn't hurt.
>
> That's the definition of a list, not of a _linked_ list.
>
Of course it was.
> A list of items is an ordered collection of items. Sheesh.
>
See the definition I gave above which scales unlike yours which
doesn't. Sheesh.
> )> )> Remember, we are talking about *natural* definitions here.
> )> )
> )> ) what is natural about using 2 entities to define 1 thing
> )>
> )> What is unnatural about it ?
> )
> ) because in the real world the item (whatever it is) does not consist of
> ) 2 entities, neither does it contain a pointer. Those are things you
> ) have introduced to support your hack.
>
> In the real world, there are no *linked* lists. I need two entities
> to make it a *linked* list.
>
that makes them even more unnatural.
> )> To me it has to do with the way an average human would think.
> )
> ) average humans do not associate pointers with list.
>
> Average humans that know about linked lists *do* associate pointers
> with *linked* lists. Average humans would also equate normal lists
> more naturally with arrays.
>
Average humans work to their limitations some of them self imposed.
What are you trying to say aim low?
> )> Average humans don't think recursively, as far as I know.
> )
> ) yes they do. they climb steps recursively, they mark papers
> ) recursively. they read books recursively.
>
> They climb steps iteratively, they mark papers iteratively,
> and they read books iteratively. A human usually repeats the
> same action until he is done. repeating the same action until
> you are done is called iteration.
>
What exactly do you understand by recursion.
> ) You don't really know what recursively means do you.
>
> If you are going down to such a basic level of what recursion means,
> then you have lost the meaning it has in a programming context.
>
giving things unnatural meaning in a "programming context" is called
hacking.
> Yes, you can call 'repeat an action until you are done' recursion. But
> to claim it is a more natural way to program 'repeating an action' than
> to use the repeat idiom given by the programming language is nonsense.
>
What are the essential characteristics of a recursive algorithm,
because the more you contribute to this thread the more it seems that
you don't know.
> ) 1. your definition introduces complications that are not present in the
> ) real world.
>
> That's because it is the definition of a *linked* list.
> In the real world, linked lists are few and far between.
>
I agree. they only exist in the minds of programmers who hack.
> ) 2. when I ask you to explain things the answers I get are ... there are
> ) a number of ways to do this or it's irrelevant.
>
> That's because there are indeed a number of ways to do them and/or they
> are indeed irrelevant.
>
and as far as answers go that is 100% soundbite 0% substance.
.
- References:
- Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: Casey Hawthorne
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: Gerry Quinn
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: wooks
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: Gerry Quinn
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: wooks
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: Richard Harter
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: wooks
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: Willem
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: wooks
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: Willem
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: wooks
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: Willem
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: wooks
- Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- From: Willem
- Interesting article by Joel Spolsky: The Perils of JavaSchools
- Prev by Date: Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- Next by Date: Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- Previous by thread: Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- Next by thread: Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
- Index(es):
Relevant Pages
|