Re:Tell HN: Best OS X Utility for programmers who use the co...
by joevandyk on Monday March 01, 2010 @02:15AM
(#1158235)
Why would stuff about a particular OS's filesytem be taught in a beginning computer science class?
Re:Tell HN: Best OS X Utility for programmers who use the co...
by nvoorhies on Monday March 01, 2010 @03:26AM
(#1158338)
It's akin to "here's where the computer lab is" rather than in the "this is what a stack is"
Re:Tell HN: Best OS X Utility for programmers who use the co...
by illumin8 on Thursday March 04, 2010 @08:17PM
(#1168543)
Because CS101 should teach you about basic programming techniques, like how to open a file for reading or writing. In order to understand how to open a file, you need to have a basic understanding of how permissions work. In order to understand how permissions work, you need to understand how mode bits work.
This is really basic stuff, but I'm not surprised that most developers think it is beneath them. "That's sysadmin stuff; I don't need to learn that." These are usually the same developers that think chmod 777 is a fix.
I've had to sit a few developers down and teach them how to use commands like strace and truss to show them exactly which file they are trying to f_open and why it fails (usually trying to open a file in read/write mode that is not owned by them and 644 permissions).
Shouldn't this stuff be taught in basic CS101 courses?