Sunday, July 19th, 2009
Programmers still write code

There's not much point to this post, but whatever.  I've met several people recently who, when they learned that I'm a programmer, indicated that they had some ideas about how programming works.  These ideas are generally not correct so I want to briefly go over the basic process and tools people like me generally use.


First off, I don't know any programmers that use WYSIWYG editors.  "WYSIWYG" (pronounced "wiz-ee-wig") stands for "What you see is what you get" and it refers to programs that show a preview of the content you're creating as you create it.  For example, in Microsoft Word, if you underline a section of text, you can see the underline immediately.


There are a lot of programs such as Dreamweaver and FrontPage that let people make websites by manipulating graphic elements rather than writing code.  These tools are great for casual web designers, but it's virtually impossible to create any serious applications that way.  Every programmer that I know writes their code by hand, line by line.

 


That's not to say we don't use tools.  Every programmer has a preferred text editor, but they all end up doing one thing: writing plain text.  That said, here are some of the features common in the good editors:


  • Code Completion - Let's say I have a function called "UserInfo" that returns information about the current user's account.  When I start typing that function name, a list shows up displaying all the functions and variables that start with what I have typed so far.  This both saves time since I don't have to type the entire function name and it helps me remember what functions and variables are called when I can't remember exactly.

  • Syntax Highlighting - Most code editors display words in different colors based on what they represent.  Maybe functions are blue, variables are green, etc.  This makes it a lot easier to look at a page and mentally break down the structure.  It also warns you if there's an error in your code because things might not won't be colored correctly.

  • Debugging - Most of the time, fixing problems is a lot easier than finding problems.  Something goes wrong and you can't figure out why.  Debugging tools allow you to set breakpoints on lines of code so that the program pauses whenever that line is executed.  This way you can slowly walk through the code and find out exactly where the problems begin.


These are just a few of the features that code editors use to make a programmer's job easier.  The point is, if you're trying to visualize how a program is created, it's created by writing line after line of text with a few shortcuts.  There's nothing that fancy going on.  It's not like the movies where there are ones and zeros flying across the screen and a bomb is about to explode.


You may wonder why I felt the need to write this post. Well, I have no idea. You may now return to what you were doing.


Posted by Tyler King

This post has 0 Comments

Leave a comment

Please fill this out to prove you aren't a robot.
You can Create an Account or Log in to hide this.
Name: Required
Email: Required. This will not be shared
Your Website: Optional
Comment:
Email me if other people comment on this post
Receive Email Updates:


About this site
Hi, I'm Tyler King and this is my blog. It's about programming, graphic design, UI design, and anything else related to software development. You can read this post to learn a little bit more about what I'm trying to do here.

If you're interested in learning more about me, check out my Portfolio, Bio or Resume.
Search
Tips
If you have any feedback about the site or you have a topic you'd like me to write about, send an email to tips@TylerKing.net.
Archives
2009 (88)
August (6)
July (17)
June (20)
May (33)
April (12)
Links

More about me:


My friends:


Sites that I really like:


Blog
Portfolio
Resume
Bio
Contact
© 2010 - Tyler King