![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
Under the hood of some Java VM's the references are actually raw pointers. This is how the JamVM works.
|
|
|
|
|
|
#12 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Pointers are a way of accessing memory indirectly. They are implemented in the machine language for a large majority of microprocessors. One can screw up with them at any level, with varying ill effects. The alternative is to have someone write you a language and bury them well beyond your reach, at a cost of efficiency. In some respects, this Big Brother approach is a boon.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#13 |
|
Programmer
Join Date: Jun 2006
Location: New York
Posts: 43
Rep Power: 0
![]() |
@Dawei: 1984?
java hides all the great details like pointers into wrappers so that we won't need to worry ourselves with them, in effect, "dumbing us down". Yes, java and windows make you dumb and dependent (more than their alternatives do). Whenever you get a chance, do your friends programming homework for them, they'll become dumb and dependent on you. Learn the details first, then "reward" yourself with using an abstract language like java or python.
__________________
It's not complex if you know what you're doing... |
|
|
|
|
|
#14 | |
|
Hobbyist Programmer
|
Quote:
|
|
|
|
|
|
|
#15 |
|
Programmer
Join Date: Jun 2006
Location: New York
Posts: 43
Rep Power: 0
![]() |
Don't get Mad, guy. Its one of those jokes that are both true but also taken to an extreme.
Have you ever tried to use the generated gui code using c#? do you think its beneficial to use it without first learning how to build a gui yourself? (it can actually be more confusing) Like I said, reward yourself with abstraction when you've mastered the details. ex: if you took assembly before learning C++, pointers wouldn't seem that complex at all.
__________________
It's not complex if you know what you're doing... |
|
|
|
|
|
#16 | |||
|
Hobbyist Programmer
|
Quote:
Quote:
Quote:
|
|||
|
|
|
|
|
#17 |
|
Programmer
Join Date: Jun 2006
Location: New York
Posts: 43
Rep Power: 0
![]() |
lol, I guess thats why you're call the "mad_guy". I just told you that its one of those jokes taken to the extreme. If we were speaking face to face you would've probably knew that but when people read letters, email, etc. its hard to tell in what context the other person is speaking. I really didn't mean they actually make you dumb; here is the essential message of the JOKE(its a joke btw): It's not good to learn anything in abstract without foundational principals(if you want to be good at it). Java and Windows are notoriously known for hiding lower level details from users.
I'm not really saying they actually make you dumb( lazy, but not dumb ).
__________________
It's not complex if you know what you're doing... |
|
|
|
|
|
#18 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
|
#19 |
|
Programmer
Join Date: Jun 2006
Location: New York
Posts: 43
Rep Power: 0
![]() |
Yeah, thats true but too bad your example isn't congruent with the argument.
I think it makes more sense this way..... manual saw user is to power saw user as low level language programmer is to high level language programmer power saw designer -> power saw user //doesn't correspond here. Anyway, the simple point is, you'll most likely become better if you have a stronger foundation.
__________________
It's not complex if you know what you're doing... |
|
|
|
|
|
#20 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3
![]() |
For the C# example given above, I think it would be better to learn how to do the GUI stuff with the tools provided, then dig into the lower level guts of it to tweak it after you have a good handle on the high level stuff.
__________________
I am Addicted to Linux! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|