01 June, 2010

An editor of choice

From the start of my life as a hacker I have been trying out so many editors. I have been arguing this over the past 4 years too. Most love to work with IDEs like Eclipse, Netbeans, etc. and some like to use specific editors like Adobe Dreamweaver, and some people like me would rather choose a simple text editor ( VIM, TextMate, Notepad++, I use text mate on OSX ).

I thought that I have to write about my experience in finding an editor and why I preferred text mate.

First thing is when I started my ABC programming I had to use the notepad at the university mostly for java, and html. It didnt work out long. Soon I jumped to textPad another good editor which I found on Windows. But I didnt have much of time to spend with textPad I started using Macromedia Dreamweaver for my web development stuff. And mostly used netbeans for java. I was working with these two for more than an year and they became my good friends at work. I was a freelancer at that time.

After I joined my office, I became a full-time web developer, and I got Abode CS3 suite, as you might guess I started working with Dreamweaver, and I had to use Eclipse too in time to time. Its being quite nice, but from now on I wont say it nice. True the editor gives you code suggestions, IDEs handle the classes, name spaces, auto code generations, and lots. During this time actually I did a lot of home work with php, and I never did use eclipse or Dreamweaver at home cause I wanted to save each megabyte of my RAM.

Alright then things changed, I got my first apple ( a macbook ) early this year, I was searching for a good editor for me. Didn't want to install Adobe there too. And when I was searching over the net I found the best editor I have had for all my life and it was textMate.

All of the coding is much more simple, the editor helps me to keep the code clean, and some nice features like using colors on codes, saving projects, traversing through the class methods etc. And what I love most is that it supports HTML, CSS, XML, PHP, Python, and Ruby ( which I am working a lot these days ), also I bought my copy of license for the product, and I am now doing all my work with this nice editor which I got for about 35 pounds.

Let me write why I really liked this, with these simple editors you can be a real hacker.

1. You will be much more flexible, you will be able to code in any editor, whether its an IDE or something like Dreamweaver.

2. You will learn a lot. Yes you will be reading, understanding, learning a lot. This way of hacking helps me on my self-improvement as a sophisticated hacker. Most of my friends stick to IDEs and editors as these softwares helps them all the time to code. (personally I read a lot of documentations while hacking)

3. More simple = more disciplined. This is one of the most important things I think, for each and every code I write I do it with great care. I always try to make it super neat and tidy, comment the codes nicely so for later use its much more easy. When declaring variables / methods / functions I never do them leaving them to garbage collectors. When I use a simple text editor I always know what happens in every bit of the code, and as I know this, I have a huge potential of writing codes as a disciplined hacker.

4. It save my resources. When I was on windows, and dreamweaver I could feel my computer running much slower sometimes ( I dont have a super high computer ). But now I have never felt it that way so I know my resources are there for my work, not wasted for some fancy thing.

In my case it has been a great experience with textMate on osX, hope this will be useful for others searching for their editor.