Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Andrew Nguyen

Pointer are unnifficient

This topic is 6043 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

All BCPL/ALGOL are great. But, their is a problem with them. Pointers. They suck, are unneeded, but... the creators did not use string heavy machines, so did not find a reason to rid of pointers. Heck, in other languages, I can do what a pointer does in less code! yes, I am saying that pointers are stupid. Most of you will say that pointers are useful, but, in my opinion, they are useful because they are used to go AROUND BCPL/ALGOL based language''s limitations. In plenty of languages, I have rarely seen pointers used. But, I will say that pointers also confuse new users. They confuse and too omplicated. Now, then, my grammar may be bad, but I can still catch rebuttals. One is that ''Well, why don''t you change it yourself?'' well, I''m just stating an idea. I don''t have to do so. And for you idiots who would make fun without a good reason, please, save your crap for another topic. Now then, how do redo pointers? Rid of them.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
what''s the point?, and what is BCPL/ALGOL?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Are you angry because you''re ignorant, or ignorant due to
your anger?

Share this post


Link to post
Share on other sites
Yep pointers are a bit confusing for new users. I personally like them, not because they are better or worse, just the way I code. So if you dont like them, dont use them, there are alternatives to using them. Happy New Year!



Grellin - CGP

Share this post


Link to post
Share on other sites
hmmm.
i dont know what to say -mainly because im not sure what BCPL/ALGOL is.
i havent been able to make much since of your first paragraph.

yes, your enlish grammer and spelling are bad (look up: their, there, they''re).

Pointers only confuse learners if they are really new to programming.

Unless the language heavily wraps pointer stuff, there are simply too many things that cant be done (easily) without them.
Asm uses them like mad.
if a language supports pointers, then its probably intended to be an interface to low level stuff, like addresses.

Share this post


Link to post
Share on other sites
I can understand pointer to direct numbers, or characters, and if they are in a CHAR mode, BUT when you have a pointer for a pointer, that's when I get annoyed. Just put a name to a memory address and there, no other pointers needed! I find it annoying when readin code when people point to points to points! It's stupid and dumb, but I see it all the time.
EDIT:
Also, BCPL is the predesccor(sp) to B, C, C++,C*,C# an so on.
ALGOL heavilly influenced BCPL.



Edited by - Andrew Nguyen on December 31, 2001 10:15:21 PM

Share this post


Link to post
Share on other sites
You can''t have a systems programming language without some form of memory address variable. In assembly all your data is in registers, which are memory addresses but are usually dereferenced to access the contents at those addresses. You can''t have dynamic memory allocation without pointers at the base level either.

[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!