by kouiskas · 15y ago · 0 comments
Stop wasting time obsessing about the best coding setup and the best editor. I've seen very poor developers with incredibly advanced typing shortcuts that they spend hours perfecting. They still write shit code (maybe they do so faster...). I use the standard configuration for an editor I like, which is a text editor only, not an IDE. I think the extra seconds here and there I spend typing repetitive parts of code give me time to think about what I'm going to do next. If you've ever spent half a day writing macros that save you milliseconds, then you're fooling yourself into thinking that you're increasing your productivity. And as I've mentioned, "lost time" isn't lost if you're spending it thinking about the problem you're solving.
Limit your use of debugging tools. I'm self-taught and in my early years of programming (Pascal) as a teenager I just didn't know how to use a debugger. It's given me a 6th sense in figuring out where the problem is in the code when I encounter a problem. Developing that ability makes you work faster because most times you know immediately where the problem is, instead of hunting things down in the debugger in a systematic fashion. Next time you're tempted to immediately fire up the debugger, just don't and try to figure it out only by looking at the code.
> Use a vertical monitor for your code editing
I used to use emacs's follow-mode for this, but it seems to have been broken for several years. EDIT: I just tried it again after a long hiatus, and it seems to be working, now. > Next time you're tempted to immediately fire up the
> debugger, just don't and try to figure it out only by
> looking at the code.
That "sixth sense" develops even if you use the debugger. The debugger is basically useless unless you have a fair idea of where the bug is in the first place. Its main value is in verifying your understanding of what's going on.If you're looking at a screen or paper all day, you want narrow text to avoid a lot of unnecessary eye movement, and relatively short windows so you avoid unnecessary head movement.
Readability is still a good reason for keeping functions narrower than 80 columns and shorter than 24 lines.
I've only used 22" monitors vertically, maybe bigger ones are just too big for vertical use and worsen the issue you've experienced.
http://blog.servermonitoringhq.com/posts/the_ultimate_web_ba...
Nowadays most LCDs use cheaper techs like TN panels that only give a good viewing angle when used horizontally. You have to look for monitors with IPS or S-PVA panels. The one you have has a TN panel, which is the worst kind for vertical use, I'm not surprised that you were disappointed.
Be careful and triple-check that the monitor you intend to buy uses the right panel technology, some manufacturers lie about it and others sell different techs for the same model number.
I have two Dell 2209WAB and one HP LP2275w (in different locations, I only use one monitor at a time + laptop). Both models provide excellent angles for vertical use and definitely use the panel technology advertised.