• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

why java doesn't have pointer?

 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why We dont Have pointers in Java ?

N. Wirth's textbook Algorithms + data structures programs (1976)
contains the following story in the chapter of dynamic information
structures , The story tells a man who describes the misery of his
life in the following words:-

" I married a widow who had a grown-up daughter. my father, who
visited us quite often, fell in love with my step daughter and married
her. hence, my father became my son-in-law, and my step-daughter
became my mother. some months later, my wife gave birth to a son, who
became the brother in law of my father as well as my uncle.

The wife of my father, that is my step daughter, also had a son.
thereby, i got a brother and at the same time a grandson. my wife is
my grandmother, since she is my mother's mother. hence, i am my wife's
husband and at the same time her step-grandson; in other words, i am
my own grandfather. "

I guess thats why we don't have pointer in Java...
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is actually a folk/humor song that dates from around the 1940's... Here's a link to the lyrics and a little history... as well as a diagram of the relationship
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had a Ray Stevens cassette with that song on it... back in the day. :roll:
 
fred rosenberger
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a CD with the Muppets singing it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic