I took this from a reddit post here: http://www.reddit.com/r/explainlikeIAmA ... ly/cbjwllc
But, I have a good feeling that people on this board will love it
Look, Simba. Every pointer that malloc returns, that is our memory space.
Wow.
A programming language's time as ruler rises and falls, like the sun. One day, Simba, the sun will set on BASIC's time here and will rise with C++ as the new king.
And this virtual memory will all be mine?
Everything.
Every pointer that malloc returns... What about that undefined place?
That causes a segfault. You must never dereference there, Simba.
But I thought C++ can do whatever it wants.
Oh, there's more to being a great program language than... accessing random memory all the time.
There's more?
Simba...
All the code you write exists together in a delicate balance. As the programmer, you need to understand that balance and respect all data from the lowly byte to the powerful object.
But don't we free lots of objects?
Yes Simba, but let me explain. When we program, our ideas become the code. And the objects come from our code. And so we are all connected in the great Compiling of Life.
Mufasa explains C++ to Simba
Moderator: Talkative People
- hurstshifter
- ES Beta Backer
- Posts: 713
- Joined: Mon Jun 08, 2009 8:33 pm
- Favorite Gaming Platforms: SNES
- Programming Language of Choice: C/++
- Location: Boston, MA
- Contact:
Mufasa explains C++ to Simba
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
http://www.thenerdnight.com
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Mufasa explains C++ to Simba
This makes no sense and has terrible grammar. It is unfortunate because the idea had potential.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- hurstshifter
- ES Beta Backer
- Posts: 713
- Joined: Mon Jun 08, 2009 8:33 pm
- Favorite Gaming Platforms: SNES
- Programming Language of Choice: C/++
- Location: Boston, MA
- Contact:
Re: Mufasa explains C++ to Simba
I would hardly call a missing question mark, using than in place of then, and forgetting -ing on program in one instance "terrible" grammar. It's the idea that counted here anyways.dandymcgee wrote:This makes no sense and has terrible grammar. It is unfortunate because the idea had potential.
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
http://www.thenerdnight.com
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Mufasa explains C++ to Simba
Sorry, you obviously thought it was cool which is why you posted it. I was more talking overall sentence structure and flow than particular spelling mistakes. I guess I've read too much poetry to appreciate the jokey tone. The author seems to have been trying way too hard.hurstshifter wrote:I would hardly call a missing question mark, using than in place of then, and forgetting -ing on program in one instance "terrible" grammar. It's the idea that counted here anyways.dandymcgee wrote:This makes no sense and has terrible grammar. It is unfortunate because the idea had potential.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: Mufasa explains C++ to Simba
... I liked it ...
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.