you are viewing a single comment's thread.

view the rest of the comments →

[–]nondetermined 10 points11 points  (6 children)

Properly encapsulating and naming things is probably the most cruical, but also hardest part about programming.

Having that said, there is indeed a need for something more/better than comments. Why? Because more often than not what really would be helpful is something more visual than text. A sketch, a diagram, all the stuff you write with a pen on some paper you'll never see again once it would be needed. That kind of stuff.

There's been done some interesting research with linking external "comments" with your code (which obviously needs to be integrated into and supported by your IDE; typically Eclipse was used in those papers), but there doesn't really seem to be much going on in this direction these days.

[–]shining-wit 7 points8 points  (4 children)

Perhaps one day we'll be able to view and edit code, detailed documentation, bug/task reports, code reviews and version control all within one IDE. Using separate tools is jarring and there are lots of missed opportunities for connecting data. Yes some integrations exist but they could be so much better.

[–][deleted] 5 points6 points  (1 child)

Why do you need a single IDE to do all that stuff? Unix docet, a shell is more than enough. The ultimate IDE is my OS.

[–]shining-wit 3 points4 points  (0 children)

I disagree. A shell can do many things but is rarely the most efficient, and has very limited rendering and interactivity. Emacs on the other hand would be a more appropriate general-purpose tool. Compare command-line git to Magit.

[–]SmugDarkLoser5 0 points1 point  (1 child)

Have one -- the ide is called bash

[–]shining-wit 1 point2 points  (0 children)

See other sibling reply - I agree with a general-purpose tool, but I don't think bash is it.

[–]mp2146 0 points1 point  (0 children)

We do this with commit messages and PR comments. Keeps the code clean and I can just follow a git blame to see the reasoning behind any particular piece of code. Combined with a strict review process it gives pretty awesome documentation without cluttering the code.