elfs: (Default)
[personal profile] elfs

Integrated Development Environments are all the rage these days, with Eclipse being the sort-of break-out winner.  I don’t use an IDE, exactly, I use that ancient rustbucket of a text editor, Emacs, and while Emacs isn’t exactly an IDE, this rule applies: don’t live with a broken IDE.

For the past six months, I’ve been working with Emacs 21 on my desktop at work.  I do development in a number of different languages that require syntax highlighting and proper indentation: C, Python, HTML, CSS, and Javascript.  The Javascript highlighting engine did not work correctly: the indentation interpereter was almost alway wrong, leaving me with poorly-indented code that was hard to read.  I ended up wasting, I’m sure, hours hand-indenting the code so that I could see what I was doing.

I finally got tired of this rigamorale and asked  if I could please update the Emacs install by hand.  We’re discouraged from putting into the base OS anything that’s not approved by Red Hat, but he said sure, if I needed it and could build it by hand, if they ever had to restore my OS I obviously could do it again.  So I quickly built Emacs from scratch and installed it in /usr/local, which I then immediately backed up to the virtualization drive to make sure it would be there if I needed it in the future.

It has made all the difference in the world.  Emacs 22’s javascript-mode just works, and it does indentation at four spaces per closure properly.  Not only was I able to actually see the syntactical error I was making in a javascript configuration pass in Ext-JS, but I could see how the entire dialog manager could be abstracted out further into a metahandler and reduced my code duplication by half. Now that’s programmer efficiency.

Just a simple reminder: if your IDE doesn’t work exactly the way you want it to, it is slowing you down.  It’s worse than having no IDE and no smart editor, because a broken IDE  distracts your from the task at hand, drains time and will you have allocated to the programming task at hand, and introduces errors into your attention. Managing your attention span is the number one skill for the Internet age, and a tool that comes between you and that successful management is a disaster.

This entry was automatically cross-posted from Elf's technical journal, ElfSternberg.com

Date: 2009-01-16 07:15 pm (UTC)
From: [identity profile] codeamazon.livejournal.com
I feel your pain. I develop Java via a PowerTerm window into a VMS server.

I miss Eclipse.
From: [identity profile] wolfwings.livejournal.com
It both forced me to modularize my code enough to keep each individual module understandable, and made me develop a clean indentation and formatting style for whatever language I'm working in. I kept running into IDE's that got in the way more than helped, and have yet to overcome the initial learning curve of either Vi or Emacs to be comfortable with either.

I've made a lot of changes since giving things second chances lately, I may have to look into some of the IDE's or at least better editors out there again.

Date: 2009-01-17 10:01 am (UTC)
From: [identity profile] gromm.livejournal.com
I've been using vim for years, in no small part because I couldn't find a (free) IDE that didn't annoy me. Especially in Windows. The problem is that I usually edit code right on the server that will run it, and when I've got 9 systems to run, it's a pain in the ass making the configuration consistent over all servers.

But recently I found Kdevelop. It works much better than vi, is significantly easier to use, and will run code on remote servers (I've been programming in PHP, mostly these days, and while I don't use it, it supports various version control software for automatic updates when you save) just like it was on localhost. What I really like about it though is how it embeds Konqueror into the program. Not only does this mean executing your code like it was local, it means that online documentation is built right into the software. Just open another tab and you've got php.net right there for reference.

Ahem. Sorry, it looks like I was proselytizing. I blame lack of sleep.

Profile

elfs: (Default)
Elf Sternberg

December 2025

S M T W T F S
 12345 6
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 5th, 2026 01:46 am
Powered by Dreamwidth Studios