What every programmer should know about...
-
Granted, our profession would benefit from increase in standards, but this is simply not realistic: What every programmer should know about memory[^] What Every Computer Scientist Should Know About Floating-Point Arithmetic[^]
When I started coding, back in ancient times, it was more important to understand things like memory (what do you mean 64k segments???). Failure to do so would result in some long and interesting nights with your C debugger. Today, people equate programming with putting up a web page. When your primary tools are papyrus and ink, about the only thing you need to worry about is steering clear of the Pharaoh's daughter.
Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!
-
When I started coding, back in ancient times, it was more important to understand things like memory (what do you mean 64k segments???). Failure to do so would result in some long and interesting nights with your C debugger. Today, people equate programming with putting up a web page. When your primary tools are papyrus and ink, about the only thing you need to worry about is steering clear of the Pharaoh's daughter.
Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!
Christopher Duncan wrote:
Today, people equate programming with putting up a web page.
and title themselves as Software Engineers, shocking but true.
Software Kinetics (requires SL3 beta) - Moving software
-
When I started coding, back in ancient times, it was more important to understand things like memory (what do you mean 64k segments???). Failure to do so would result in some long and interesting nights with your C debugger. Today, people equate programming with putting up a web page. When your primary tools are papyrus and ink, about the only thing you need to worry about is steering clear of the Pharaoh's daughter.
Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!
Christopher Duncan wrote:
people equate programming with putting up a web page
You never miss an opportunity to take a jibe on Web development?:)
-
Granted, our profession would benefit from increase in standards, but this is simply not realistic: What every programmer should know about memory[^] What Every Computer Scientist Should Know About Floating-Point Arithmetic[^]
I'd rather people read that than that bloody Gang of Four bilge. Worryingly, people just by virtue of having 'read' it seem to consider themselves competant.
Regards, Rob Philpott.
-
Nemanja Trifunovic wrote:
simply not realistic
Wait.. what? IMO every programmer should have at least read those documents, and preferably understand most of it. And universities should encourage students to read these things.. You know most students think like "doubles are more precise so I should use them all the time"? And then of course they write code that throws away all the precision with subtraction and then compares the result for equality. And then they complain that doubles are broken. The lack of knowledge about computer memory is less apparent, but it can't be good.
harold aptroot wrote:
IMO every programmer should have at least read those documents, and preferably understand most of it
I am pleasantly surprised to see the attitude, but it is just never going to happen :)
-
I'd rather people read that than that bloody Gang of Four bilge. Worryingly, people just by virtue of having 'read' it seem to consider themselves competant.
Regards, Rob Philpott.
Rob Philpott wrote:
I'd rather people read that than that bloody Gang of Four bilge
Amen. The GoF stuff is IMHO harmful.
-
Granted, our profession would benefit from increase in standards, but this is simply not realistic: What every programmer should know about memory[^] What Every Computer Scientist Should Know About Floating-Point Arithmetic[^]
There's a major difference between knowing something in and out, and being aware that there are potentially serious pitfalls and knowing when to consult a detailed reference. The former isn't overly realistic if if's something that you're not doing on a regular basis. Not knowing the latter is one of the common sources of wtfware code. Thanks for the memory article. I hadn't seen that one before, and will have to spend some quality time with it.
It is a truth universally acknowledged that a zombie in possession of brains must be in want of more brains. -- Pride and Prejudice and Zombies
-
They could still read them, reading is not hard.. Of course it's better if they understand it, but if they at least read those documents then even without understanding they should be more aware of possible pitfalls. Being aware of them is more important than knowing how exactly to avoid them - one could always look it up or ask someone else.
Did you even read them yourself? I suspect you did not. Or do you seriously think that every programmer needs to know the circuit diagram for a 6-transistor SRAM cell? Or the capacitor charge and discharge timing of DRAM cells? The entire first part (which is substantial) consists of hardware details that are utterly irrelevant to the vast majority of programmers. In fact, only those who write assembly code (or compilers - i.e. programs that write assembly code) could even potentially use detailed knowledge about the internal caching design of modern CPUs. Given how many programmers fail to grasp, not to mention make good use of, the fundamental concepts of OOP, I can think of a few things I'd recommend studying before this.
-
harold aptroot wrote:
IMO every programmer should have at least read those documents, and preferably understand most of it
I am pleasantly surprised to see the attitude, but it is just never going to happen :)
-
Christopher Duncan wrote:
people equate programming with putting up a web page
You never miss an opportunity to take a jibe on Web development?:)
Maybe because it's so epically full of failure? :)
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
-
When I started coding, back in ancient times, it was more important to understand things like memory (what do you mean 64k segments???). Failure to do so would result in some long and interesting nights with your C debugger. Today, people equate programming with putting up a web page. When your primary tools are papyrus and ink, about the only thing you need to worry about is steering clear of the Pharaoh's daughter.
Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!
Christopher Duncan wrote:
the only thing you need to worry about is steering clear of the Pharaoh's daughter.
Does Doug know about this yet? Someone should really let him know!
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
-
When I started coding, back in ancient times, it was more important to understand things like memory (what do you mean 64k segments???). Failure to do so would result in some long and interesting nights with your C debugger. Today, people equate programming with putting up a web page. When your primary tools are papyrus and ink, about the only thing you need to worry about is steering clear of the Pharaoh's daughter.
Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!
Yeah, but the fact that programming is becoming easier is a good thing. Maybe not for programemrs' salaries, but for society as a whole... surely a good thing.
-
They could still read them, reading is not hard.. Of course it's better if they understand it, but if they at least read those documents then even without understanding they should be more aware of possible pitfalls. Being aware of them is more important than knowing how exactly to avoid them - one could always look it up or ask someone else.
-
Granted, our profession would benefit from increase in standards, but this is simply not realistic: What every programmer should know about memory[^] What Every Computer Scientist Should Know About Floating-Point Arithmetic[^]
In my university there was a discipline called “Computer Architectures” which covered this subjects and a lot more in very deep basis. In fact this discipline was so hard that eventually some 10-15% of the students from my class failed to take this exam and had been suspended from the university.
The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.
-
Did you even read them yourself? I suspect you did not. Or do you seriously think that every programmer needs to know the circuit diagram for a 6-transistor SRAM cell? Or the capacitor charge and discharge timing of DRAM cells? The entire first part (which is substantial) consists of hardware details that are utterly irrelevant to the vast majority of programmers. In fact, only those who write assembly code (or compilers - i.e. programs that write assembly code) could even potentially use detailed knowledge about the internal caching design of modern CPUs. Given how many programmers fail to grasp, not to mention make good use of, the fundamental concepts of OOP, I can think of a few things I'd recommend studying before this.
dojohansen wrote:
Did you even read them yourself? I suspect you did not.
Of course I did.
dojohansen wrote:
Or do you seriously think that every programmer needs to know the circuit diagram for a 6-transistor SRAM cell? Or the capacitor charge and discharge timing of DRAM cells?
No, they don't need to remember it, but they should know that it works that way (not the exact diagram and figures)
dojohansen wrote:
could even potentially use detailed knowledge about the internal caching design of modern CPUs.
Cache trashing is far to easy to get, for example with naive large-matrix multiplication..
dojohansen wrote:
Given how many programmers fail to grasp, not to mention make good use of, the fundamental concepts of OOP, I can think of a few things I'd recommend studying before this.
That is definitely true.
-
Granted, our profession would benefit from increase in standards, but this is simply not realistic: What every programmer should know about memory[^] What Every Computer Scientist Should Know About Floating-Point Arithmetic[^]
I have never heard of the first article but I have read the second article. You should notice that it is not for programmers but for computer scientists. And IMHO it should not be a very difficult reading for any comptuer scientist worth his salt. -Saurabh
-
Did you even read them yourself? I suspect you did not. Or do you seriously think that every programmer needs to know the circuit diagram for a 6-transistor SRAM cell? Or the capacitor charge and discharge timing of DRAM cells? The entire first part (which is substantial) consists of hardware details that are utterly irrelevant to the vast majority of programmers. In fact, only those who write assembly code (or compilers - i.e. programs that write assembly code) could even potentially use detailed knowledge about the internal caching design of modern CPUs. Given how many programmers fail to grasp, not to mention make good use of, the fundamental concepts of OOP, I can think of a few things I'd recommend studying before this.
Well said.
I didn't get any requirements for the signature
-
Granted, our profession would benefit from increase in standards, but this is simply not realistic: What every programmer should know about memory[^] What Every Computer Scientist Should Know About Floating-Point Arithmetic[^]
Nemanja Trifunovic wrote:
What every programmer should know about memory[^]
does .Net have classes to handle capacitor discharge and DRAM column de-multiplexer control, or do i have to handle this in C++ ?
-
dojohansen wrote:
Did you even read them yourself? I suspect you did not.
Of course I did.
dojohansen wrote:
Or do you seriously think that every programmer needs to know the circuit diagram for a 6-transistor SRAM cell? Or the capacitor charge and discharge timing of DRAM cells?
No, they don't need to remember it, but they should know that it works that way (not the exact diagram and figures)
dojohansen wrote:
could even potentially use detailed knowledge about the internal caching design of modern CPUs.
Cache trashing is far to easy to get, for example with naive large-matrix multiplication..
dojohansen wrote:
Given how many programmers fail to grasp, not to mention make good use of, the fundamental concepts of OOP, I can think of a few things I'd recommend studying before this.
That is definitely true.
harold aptroot wrote:
No, they don't need to remember it, but they should know that it works that way (not the exact diagram and figures)
Why? Why should programmers have to even know that memory is implemented in transistors? I'm sure the article contains a lot of stuff that is of great use to some programmers. But like the OP, I take issue with the sweeping generalization that every programmer needs to know this. Perhaps I'm too generous in my usage of the term, but based on my sampling of code project articles I should think there are quite a few people out there who consider themselves programmers yet wouldn't know what a NorthBridge is. Personally, I think it is in many cases far better for the compiler to worry about hardware optimizations and for the programmers to worry about maintainable, reuseable code, extensibility, economy, useability, testability, and so on. Again, the priorities are not the same for ALL programmers, but I'd say that the majority of us need not and indeed should not assume anything about the CPU caching or other hardware implementation details when coding.
-
Yeah, but the fact that programming is becoming easier is a good thing. Maybe not for programemrs' salaries, but for society as a whole... surely a good thing.
No, it's not a good thing. VB made programming easier, and it made a lot of people think they were programmers, which gave the programming profession as a whole a black eye. IMHO. Take a look at the questions being asked in the forums, and you'll see what making programming easier leads to. :)
- S 50 cups of coffee and you know it's on! Code, follow, or get out of the way.