News for hackers. Stuff that matters.
Re:Ask HN: What code editor do you use? by pkghost on Tuesday May 25, 2010 @02:01AM (#1376658)
emacs. first job out of college, got put on a team that used emacs, so i learned emacs.

things i love: non-modal interface (used vim in college, found myself frequently cursing its modes: "do what i think, not what i type!"); lives on every system i work on; does not require smelling salts after encounters with large files; insanely flexible and powerful

things i hate: insanely flexible and powerful (i.e., large investment required to capitalize on flexibility and power); i'm not a pianist (abundance of control and alt prefixes to key commands make rachmaninov cry from his grave); this is 2010 -- where is my anti-aliasing, dammit; after a year, i still have regular arguments with tabs/spaces/indentation

to address your concern about navigating code efficiently, i sympathize. i felt that way when i started out (even after realizing i could select text with my mouse), but i'm in a phase where i spend more time thinking about writing code than actually writing it, so i worry less about how fast i can copy and paste an awkward selection from one file to another than i do about how well my editor fits with my work environment and personal habits.

Re:Ask HN: What code editor do you use? by stratospark on Tuesday May 25, 2010 @02:18AM (#1376688)
Re:Ask HN: What code editor do you use? by leif on Tuesday May 25, 2010 @02:47AM (#1376718)
> i still have regular arguments with tabs/spaces/indentation

Clearly, you should end your files with ".py".

> navigating code efficiently

Use xcscope, if your language is supported. Obvious, and you've probably tried it (and now, probably don't care), but worth mention, for others at least.

Re:Ask HN: What code editor do you use? by madrik on Tuesday May 25, 2010 @04:28AM (#1376840)
What if his files end with ".hs"?
Re:Ask HN: What code editor do you use? by leif on Wednesday May 26, 2010 @09:54PM (#1382435)
I still don't fully understand haskell's whitespace usage. :-/