One thing that really helped me when I code is to switch to a real "coding font". Wile the default monospace font on OSX (monaco) is fine, I find that my eyes adjusts better to the "proggy clean" fonts (avaiable for free here: http://www.proggyfonts.com/ ). With good coding fonts, you are able fit more into the screen, distinguish between 1 and l, 0 and o more easily..etc. Here's a discussion on programming fonts a w…
How to be a better programmer in 6 minutes
11–20 of 48 posts
Re: How to be a better programmer in 6 minutes
#12"Sometimes, when I'm looking at the code of a complete stranger, I get that same, weird feeling I get when I'm creeping through my neighbour's house. Picking up their stuff, looking through their fridge." Um...
Re: How to be a better programmer in 6 minutes
#13Re: How to be a better programmer in 6 minutes
#14Re: How to be a better programmer in 6 minutes
#15Re: How to be a better programmer in 6 minutes
#16I am a violator here. I have emacs set to 6x10 on a 25" monitor, the result is 104 lines on a screen. And I like it.
Re: How to be a better programmer in 6 minutes
#17Bigger text size is also good for not going blind. I've been coding with bigger text for a few months now, fewer headaches too.
Re: How to be a better programmer in 6 minutes
#18All very good tips. I prefer a smaller font when hacking because I like to be able to scan more of the codebase, but I can see how it could force a person to tighten up the scope of their methods/functions.
One good font-related tip: Make comments stand out (dark, bold) rather than fade into the background. Forces me to write better comments, and prevents comment from getting out of sync with the code.
But I got to tweaking and realized that making comments stand out is amazingly helpful. I completely agree that it makes me want to write more comments and makes commented out code a glaring problem.
Re: How to be a better programmer in 6 minutes
#19I'm supposed to master an obscure language element, read through the source code of an open source project, refactor a method, run a static analysis tool, and do all the rest--all within six minutes? I do like the idea for making hard-coded strings stand out, however.
Re: How to be a better programmer in 6 minutes
#20Use a bigger font size. I am a violator here. I have emacs set to 6x10 on a 25" monitor, the result is 104 lines on a screen. And I like it.