The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I suppose it was a google ad or similar...
they don't necessarily have to be the same for you as for me or when you took the link as to when I visited the site.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
Well, given a search string, Google points us to the location(s), meaning website(s), where that search string is present. Agree?
If you're lucky...
Anything that is unrelated to elephants is irrelephant Anonymous - The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 - Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
I remember learning pointers being a real "light bulb" type of learning experience for me.
I felt like I was banging my head against a wall trying to figure them out, then with a single revelation, they suddenly made complete sense to me. I've never been able to figure out what caused that revelation.
there is no problem with pointers if you look straight at them. the problem is when somebody tries to wrap them in some obscured "politically correct" story that doesn't hurt a chipmunk if you step on it.
i know this line is confusing, but Pascal was my first programing language and when the time came to grow up and use pointers normally i reached for a Pascal programming book...
well, that book in it's chapter of pointers had everything else, about lists, about binary trees... but i could not tell what pointers are.
i mean, the person who wrote that book constantly repeated how pointers are really useful although you should avoid to use them as much as possible... he doesn't know about pointers.
then i read a chapter about pointers from a C tutorial and everything became crystal clear. there was i happy and using pointers in Pascal.
the same thing was with win32 programming. you can not learn it from a Delphi book, you need a C book for that. but you can sure as hell do that in Pascal as good (or better) as in C if you learn the right way.
pointers are a fundamental thing. the 8086 processor has a few general purpose registers and about the same number of Index registers. out of this bunch SI and DI are your pointers.
and i bet you will understand pointers even better if you learn assembly than C, but C is good enough.
I first used pointers in asm, because it was the first thing other than basic i could really write code in for the 6502. I learned C later. I'm fine with them. it seems many other people aren't, hence the idea for the article.
I think I would agree that pointers are quite intuitive, but I still prefer the way Java, for example, takes away the need to deal with them directly, though one still ought to understand what is happening under the hood. Constructing a linked list in Java takes away the need to think about pointers at all (so be careful those who use this as an interview Q). I like languages which allow me to spend more cognition on the business logic rather than its implementation. Also, modern compilers can implement code better than most (if not all) of us humans can. That said, there is something aesthetic about pointers, more so when you deal with memory management in assembly langauge. I quite like the fact that C lets you get to grips with these lower level devices, though in my work it's more of an aesthetic curiosity than a necessity to know these things.
Last Visit: 31-Dec-99 18:00 Last Update: 9-Aug-22 23:03