News for hackers. Stuff that matters.
Re:How do you do, fellow web developers? A growing disconnect by ahartmetz on Friday December 20, 2024 @05:21AM (#42469796)
I think the one weird trick to understand pointers is to do a tiny amount of assembly programming. Assembly is very simple and pointers are everywhere. Writing useful programs in it is a chore, but you don't need to!
Re:How do you do, fellow web developers? A growing disconnect by cafeinux on Friday December 20, 2024 @11:01AM (#42472215)
I never understood the struggle people have with pointers, to me they are quite obvious, unless I'm missing some important thing about them. You have something you need to store; it's stored in memory; so you need to store its address if you intend on accessing it; so you store it in a pointer. From there, the rest comes logically.
Re:How do you do, fellow web developers? A growing disconnect by mainguy on Sunday December 22, 2024 @07:37AM (#42485967)
I think the problem with C (well my problem) was the *& characters all over the place. I think because I spent too much time with pascal where (in my opinion) the pointer syntax is more symmetric.