Programming 6

2016 Top Light Weight Text Editors

As a programmer and blogger I have need for both heavy weight, full IDE software and the quick and easy text editors. We all need a fast way to edit text files without anything in our way but with a tad more features then notepad.

Notepad is fun but... it's not. Not fun at all. Period.

For me a good text editor needs to be fast in all ways. Fast to open. Fast to close. Fast to switch from file to file. Fast to make edits. Fast to search within. Everything about it has to make it faster for me than Notepad.

I've included my top 3 editors in this post. There are many more out there. Some may have more features, more plugin, more themes, etc.

Sublime Text

Sublime Text Screenshot

This one made it to the top of my list. A few years ago I thought I was settled for life with Notepad++ but one week after using Sublime Text changed all of that.

The one feature which got me hooked up was their multiple selection tool. With a quick Ctrl-D shortcut you can select multiple instance of your selection and then edit the whole thing all at once simultaniously.

But that's just one feature they have which speeds up editing.

Sublime text also has an extensive list of addons supporting almost anything you can think of.

The editor is slick and fast. It's also fully cross platform if you're like me working on both Windows and Mac (and very rarely but occationally on Linux).

It's free to try and evaluate. I encourage you to buy has their license is per-user rather than per-machine which is super fine if again you're like me developping on many machines and platforms.

Note that at this time Sublime Text 3 is still in beta but I've been using it for a while without any issues.

Download Sublime Text 3 or Download Sublime Text 2


Atom Screenshot

Atom is a relatively new editor built by the team at GitHub. Atom distinguishes itself by the level of customisation it gives you. Since it's built with HTML, Javascript, CSS and Node.js it can be personalized easily in many many ways.

Atom works across operating systems. You can use it on OS X, Windows, or Linux.

It offers many built-in themes which looks great and offers many community themes as well. I have to say it really feels and looks like a 2016 text editor.

The GitHub guys used their experience to develop a quick and useful editor for developers.

I'll definitely explore this slick editor more and more as it matures in the future.

It's also completely free, which makes it an easy choice.

Download Atom


Notepad++ Screenshot

Notepad++ is a free text editor. It's fast and effective at the same time. It has everything you'd expect from a light weight text editor. Syntax highlighting, code folding, auto-completion, tab interface and more.

Recent versions has introduced some limited multi-editing has I mention Sublime Text could do but not as user friendly and well integrated. See it in action here.

It also has a function list panel which can be useful as a quick reference.

Unfortunately, it looks and feels like an older software. It's not as slick as the other two editors but it does work great and offer nice features.

It's a good free solution for Windows users. (It's only available for Windows.)

Download Notepad++

Dec 7, 2015 | comment Comment

Programming without comments

Comments in your code should be avoided at all cost. Why? Because they waste your valuable time and your collaborators time. Good code does not need comments. You may have heard this before, if you did, unfortunately I'm repeating it.

What's good code and why doesn't it need comments?

Good code is code which follows a common easy to follow logic, consistent naming and indentation. Consider the following code:

if (orange == apple) {
    print("You are holding a square");
} else {
    print("You are holding a rectangle");

With some thinking you may have figured what we're comparing here but even if you did can you really figure what's an apple and what's an orange? In this example you would need comments to tell the next programmer what you're talking about. Here's the same code but written by a smarter programmer...

if (shapeWidth == shapeHeight) {
    print("You are holding a square");
} else {
    print("You are holding a rectangle");

Now doesn't it make a lot more sense? This is a very simple example but it serves as a very good example. When you choose descriptive names for your variables and functions the code becomes self documented. No need to spend time commenting everything. It just makes sense.

There are time when commenting is necessary, for example when you're attempting a complex logic which is not common. Try to avoid complex if you can. Often when you feel you need to comment your code, you've made it too complicated.


Jul 25, 2015 | comment Comment

Word Whuffle: Corona SDK Word Game in Progress

I've been working on this game for a while now. I've been through ups and downs. Through some unfortunate events. But in the end I'm still learning Corona SDK and Lua.

In early September I gave a big push on the development of this game, did a lot of data entry and user interface programming. In mid-September I lost all that work, in the middle of re-organizing the way I keep my files (because I often work on multiple computers) one of my USB got corrupted. I only able to recover about half my data and this game was on non-recoverable side. The backups I had dated weeks, so I lost all recent work.

Now I do backup every time I make a change to anything.

So now I'm proud to say I've come not only further in development than I was but better.

About the Game

What's this Word Whuffle game about?

It's simple, yet fun to play. Makes you think. The gameplay is simple, you have mixed letters and you must re-arrange them to make a word. The game is divided into various categories which in turn are divided in stages. Each stage contains arounds 15 words and you have to solve a set amount of words in a set amount of time to unlock the next stage.

Some categories are easy and some are very hard keeping your brain working.

I currently have 3 categories (Nature, History, Movies) and plan to launch the game with at least 5 of which 3 will be playable and 2 as in-app purchases.

Expected Release

I'd love to be able to get this out before January but there is still a lot of work to do. Graphics. User interface. Game Logic. App Logic. And much more. At least the main cogs are in place now it's about polishing and rounding corners. It's still a lengthy process. And with Christmas coming my time to develop will be limited.

I'll keep you updated with the progress of the game.

Nov 25, 2013 | comment Comment

BlissNotes: My First App Built with Corona SDK

It's been a very long time I haven't wrote on my blog. A lot of things have changed since my last post. I'm still doing all the same geeky things I used to... websites, graphics, programming etc. But I've learned new things and tricks.

Nov 12, 2013 | comment Comment

CSS3 Tricks - How to Create Flashing Light Animated Menu

In today's CSS trick I'll show you how to create an animated side menu using only CSS. Tweek my example to fit your site.

Sep 26, 2012 | comment Comment

CSS3 Tricks - Creating Beautiful Animated Sceneries Using Only CSS

Today's little CSS3 trick is a very cool one. It's uses? Well you'll need a web site with a lot of personality to use this but if you do, your visitors are going to be in for a nice treat!

We'll create a fully animated sky with clouds soaring with the wind and a dancing sun. Excited? I bet you are!

Aug 31, 2012 | comment Comment