Reputation
2,575
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
12 17
Newest
 Nice Answer
Impact
~155k people reached

  • 0 posts edited
  • 0 helpful flags
  • 90 votes cast
2d
comment Self Documenting Code Vs. Commented Code
but isn't it faster and easier to read the comment at the top saying what that section of code does and skip it altogether if it's not what I'm looking for It's called "the name of the method/function". If you've got a block of code that has no name but is so long that you can't take it in with one quick glance, maybe the problem lies there.
Jun
1
comment How to think as a C programmer after biased with OOP language?
I personally found most of C easy and straightforward, with the notable exception of the pre-processor. If I had to re-learn C, that would be one area I'd concentrate a lot of my effort on.
Feb
23
awarded  Nice Answer
Jan
18
awarded  Yearling
Sep
10
revised Is there any logical reason to auto-generate code documentation?
added 527 characters in body
Sep
9
answered Is there any logical reason to auto-generate code documentation?
Feb
20
awarded  Good Answer
Jan
18
awarded  Yearling
Jun
22
awarded  Necromancer
Jan
18
awarded  Yearling
Aug
20
awarded  Autobiographer
Jan
18
awarded  Yearling
Nov
21
awarded  Nice Answer
Aug
29
awarded  Nice Answer
Aug
23
awarded  Nice Answer
Mar
17
awarded  Critic
Mar
17
comment How did we get saddled with the (hierarchical) filesystem as the basic data structure?
@S.Lott You've just answered the wrong question (well, half the question at best) and now you insist that the question wasn't what it was. We've all misread questions, why not admit it? "how are we still saddled with the filesystem?" is asking exactly why no alternative route was taken. And your answer is: because it wasn't. Well, brilliant. :)
Mar
17
comment How did we get saddled with the (hierarchical) filesystem as the basic data structure?
@S.Lott In that case I think you don't understand what "reason" means. If what you say was a valid argument, we'd all be single-celled organisms. Because well, our ancestors in history were, so we can't be anything else either. It's more likely though that you're just reluctant to admit that you misunderstood the question.
Mar
17
comment How did we get saddled with the (hierarchical) filesystem as the basic data structure?
@S.Lott Then I think you should read the question again. Not only is it part of the question, it is the question itself. "in this day and age, how are we still saddled with the filesystem"
Mar
17
comment How did we get saddled with the (hierarchical) filesystem as the basic data structure?
@S.Lott History, as always, only gives half the answer. It will tell you how and why tree-based file systems were invented. It won't explain why we're still using them. After all, many different ways of organising files existed histoically, yet one of them outgrew all the rest. Why this one, why not the others? Or why not something new? You won't find the answer in history.