I was going to write an article about how pointers aren't confusing
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
The most famous pointer of them all is ... Google. How? Well, given a search string, Google points us to the location(s), meaning website(s), where that search string is present. Agree?
-
The most famous pointer of them all is ... Google. How? Well, given a search string, Google points us to the location(s), meaning website(s), where that search string is present. Agree?
Amarnath S wrote:
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... :doh:
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 -
The most famous pointer of them all is ... Google. How? Well, given a search string, Google points us to the location(s), meaning website(s), where that search string is present. Agree?
I'd say the links it returns are the pointers, but you do you. :)
Real programmers use butterflies
-
What's so confusing about them? They point to a memory location. Think of an address as an index into a big array of bytes. No big. =)
Real programmers use butterflies
Pointers are powerful and easy to use can lead to disaster when not used correctly, as can be seen when trying to debug a pointer problem.
I'm not sure how many cookies it makes to be happy, but so far it's not 27. JaxCoder.com
-
Pointers are powerful and easy to use can lead to disaster when not used correctly, as can be seen when trying to debug a pointer problem.
I'm not sure how many cookies it makes to be happy, but so far it's not 27. JaxCoder.com
Yeah. There is that. It's easier to use them correctly though if you understand them intuitively. These days most of my pointer problems are caused by things i forget to initialize. :doh:
Real programmers use butterflies
-
I'd say the links it returns are the pointers, but you do you. :)
Real programmers use butterflies
honey the codewitch wrote:
links it returns are the pointers
So is Google a pointer factory, or a pointer dictionary?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
honey the codewitch wrote:
links it returns are the pointers
So is Google a pointer factory, or a pointer dictionary?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
That's a fantastic question. :-D
Real programmers use butterflies
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
honey the codewitch wrote:
to enjoy the freedom they bring you rather than fearing the danger they present.
True for so many things! :laugh:
Latest Articles:
Thread Safe Quantized Temporal Frame Ring Buffer -
They're not confusing at all. ( I removed the link ) use the wikipedia instead : [Pointer (dog breed) - Wikipedia](https://en.wikipedia.org/wiki/Pointer\_(dog\_breed))
I'd rather be phishing!
My antivirus started to ring bells with that link. Just in case, don't visit it. https://static.searchiq.cc/js/2.2.57/sa.js Name of the thread: JS:Trojan.JS.Downloader.DOY Really sad if we can't trust the links of other old CPians in the lounge to webs that shouldn't be dangerous :sigh: :sigh: :sigh:
M.D.V. ;) 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.
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
look forward to see your this article!:rose:
diligent hands rule....
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
-
Pointers are evil... ...evil is fun.
"In testa che avete, Signor di Ceprano?" -- Rigoletto
But they're so cute and cuddly. Especially my precious little void*. Who's a good little typeless pointer? YOU ARE!
Real programmers use butterflies
-
My antivirus started to ring bells with that link. Just in case, don't visit it. https://static.searchiq.cc/js/2.2.57/sa.js Name of the thread: JS:Trojan.JS.Downloader.DOY Really sad if we can't trust the links of other old CPians in the lounge to webs that shouldn't be dangerous :sigh: :sigh: :sigh:
M.D.V. ;) 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.
weird, it passed out over zealous web nanny on my office computer. I removed the link and put the wikipedia link instead. :thumbsup:
I'd rather be phishing!
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
I guess your article should point that out ;p
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
But they're so cute and cuddly. Especially my precious little void*. Who's a good little typeless pointer? YOU ARE!
Real programmers use butterflies
-
Pointers are powerful and easy to use can lead to disaster when not used correctly, as can be seen when trying to debug a pointer problem.
I'm not sure how many cookies it makes to be happy, but so far it's not 27. JaxCoder.com
Quote:
Pointers are powerful and easy to use can lead to disaster when not used correctly, as can be seen when trying to debug a pointer problem.
Anyone trying to debug pointer problems without using valgrind is probably a masochist.
-
Quote:
Pointers are powerful and easy to use can lead to disaster when not used correctly, as can be seen when trying to debug a pointer problem.
Anyone trying to debug pointer problems without using valgrind is probably a masochist.
Had never heard of Valgrind.
I'm not sure how many cookies it makes to be happy, but so far it's not 27. JaxCoder.com
-
My confusion with pointers started very early this morning, since I read the subject as, 'printers aren't confusing.' Time for coffee...
Kris Lantz wrote:
Time for coffee...
Why did you do that? The only thing you should do before drinking coffee is making coffee. Any other action is futile, except you won't be assimilated. :laugh: