Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 39805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:55:22+00:00 2026-05-10T14:55:22+00:00

AKA – What’s this obsession with pointers? Having only really used modern, object oriented

  • 0

AKA – What’s this obsession with pointers?

Having only really used modern, object oriented languages like ActionScript, Java and C#, I don’t really understand the importance of pointers and what you use them for. What am I missing out on here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T14:55:23+00:00Added an answer on May 10, 2026 at 2:55 pm

    It’s all just indirection: The ability to not deal with data, but say ‘I’ll direct you to some data, over there’. You have the same concept in Java and C#, but only in reference format.

    The key differences are that references are effectively immutable signposts – they always point to something. This is useful, and easy to understand, but less flexible than the C pointer model. C pointers are signposts that you can happily rewrite. You know that the string you’re looking for is next door to the string being pointed at? Well, just slightly alter the signpost.

    This couples well with C’s ‘close to the bone, low level knowledge required’ approach. We know that a char* foo consists of a set of characters beginning at the location pointed to by the foo signpost. If we also know that the string is at least 10 characters long, we can change the signpost to (foo + 5) to point at then same string, but start half the length in.

    This flexibility is useful when you know what you’re doing, and death if you don’t (where ‘know’ is more than just ‘know the language’, it’s ‘know the exact state of the program’). Get it wrong, and your signpost is directing you off the edge of a cliff. References don’t let you fiddle, so you’re much more confident that you can follow them without risk (especially when coupled with rules like ‘A referenced object will never disappear’, as in most Garbage collected languages).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: Hi my name is John (aka Johnator) .
Given an NSApp object (aka [NSApplication sharedApplication]), how can I get the currently active
I recently looked into Prism (aka the Composite Application Library for WPF) and really
I'd like to use FSEvents aka File System Events to listen to changes to
I have a string variable in C# aka product_name, I want to filter like
Wordpress's datamodel provides extensibility through it's meta tables (aka, wp_postmeta, wp_commentmeta, wp_usermeta). This name/value
aka, what is wrong with this code:- package com.mez.appofjaq; import com.mez.appofjaq.RssParser.RssFeed; import android.app.Activity; import
What is array-to-pointer conversion aka. decay? Is there any relation to array pointers?
This question already has an answer here: Point in Polygon aka hit test C#
For Java EE development in an IBM iSeries (aka AS/400) environment, I would like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.