![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6
![]() |
references vs. pointers
in my microscopic experience with C++ i am wondering how much REAL programmers (like IR and eggbert) actually use references as opposed to pointers. it seems so limiting to have references with SLIGHTLY cleaner syntax with MAJOR problems like being unable to be re-assigned and not being able to be NULL. do you guys really use them? i understand it's a little better than using parens and asterisks all over the goddamn place but is it really useful? examples would be nice. the way my ignorant mind sees it now is "fuck references" use pointers. is it really better?
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|