Web Development: Programming101

Author: weboutgateway | Posted: 29.03.2012

Basic concepts of Programming are the foundation of the fast-paced web development field. For that, below is the basic list that web developers must not forget while coding.

1. Know what to develop

Don't get too rush in choosing what programming language you want to learn. Instead, determine first the platform you will develop. Do you want to create mobile game application? Perhaps you can choose Java or another language. Do you want to create pc application? Visual Basic or C++ will be the starting point. Do you want to be a web developer? PHP or ASP.net and a lot more will do.

2. Start with the basic

“Hello World” is the most basic program that developers do. Imagine yourself in the classroom. Before you learn how to read, you were taught first to write and to be familiar with the alphabet. Same here, make sure that you are familiar with the syntax and you can go a long way already.

3. Use the proper Naming Convention

This technique comes in handy when you already have or created a lot of programs. It enables you to easily understand the codes. Other programmers (if the task is handed to them) won't have difficulty in understanding it. Names of your variable must be short yet descriptive. Don't just name a variable x when you can name it as intNum1. You might not see the importance because it is a “programming convention,” but it will eventually come in handy on more complicated projects.

4. Put comment on your codes

You might not like it and it might be tiring—but please put comments on your code. This might save you one day in case you need to open your old files to be used as a reference. It can save you a great deal of thinking. It will not be easy to recall what that line of code is for. No matter how irritating and pointless it can be at times, it will save your time. Remember, codes are meant to tell you what it is about; in the same way, comments tell you why or how. Hey, don't comment on every line though. Your comments will be irritating then. Another reminder, avoid excessive commenting.

5. Good indenting

Pleasing to the eyes and easy to understand codes. This will be helpful in debugging.

6. Don't Reinvent the wheel

You can code all you want, but don't make your life miserable. If a function that performs a specific task already exists, you might as well take advantage of it.

This is just one self-taught programmer recommendations for beginners and a reminder for experience programmers out there. What did I miss? Feel free to add it here.


About Author:
Diah Abida is a project secretary/writer at Web Outsourcing Gateway. She handles tasks in SEO copy writing and writing of web project documentations. The company where she's in is a Philippine IT Outsourcing company that offers a variety of website services.

WEB OUTSOURCING COMPANY:
Website:
http://www.weboutsourcing-gateway.com/
Email:
info@weboutsourcing-gateway.com
Address:
Unit 3101 One Corporate Center, Julia
Vargas Avenue, Corner Meralco Avenue,
Ortigas Center, Pasig City, Philippines

Article was printed from http://www.articleside.com/software-articles/web-development-programming101.htm
Click here to return original format