C Pointers – A Delegate Dance

For the past two years, I’ve been working consistently with C pointers. I’m comfortable with pointers for basic data types like integers and can handle double pointers when passing arrays into functions or working with two-dimensional arrays. Recently, I’ve been diving into void pointers and pointers passed through ctypes in Python, which require extra caution. Any misunderstandings here can easily lead to bigger issues.

If I had more time, I’d definitely read the entirety of the ctypes documentation and maybe pick up a book specifically about C pointers (looking at this one here).

Lately, I’ve found myself frequently turning to AI assistance or stumbling across the occasional helpful Stack Overflow post. However, I worry that I’m not truly learning or retaining what I need for the long term. It feels like I spend more time searching than actually understanding, and I’m concerned that I’m not building lasting knowledge.

The Lack of Examples

I work best with examples. I try my best not to be the guy that just copies and pastes stack overflow code. I try to understand the code and write it within the context of what I need specifically from it. I get lucky when AI gives me a script that is simple enough to understand.

I will leave the post off here, in the future I plan to link the source code to things so that people can see what I am talking about.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *


WordPress Appliance - Powered by TurnKey Linux