Building your firs programming project is not that frightening as you know it. In fact it can be fun and exciting to do. Although we can say that programming is not for everyone, but it can be learned by someone who wants to learn it.
Programming is not random process, like other jobs it follows certain steps to obtain your objectives. If not for these steps it would be difficult for a person to do his project. Although building programming project have many steps, I’ll stick to what is most basic and easy to begin with.
Are you excited building your first programming project?
Know your goals
What do you want? Why do you want to learn programming? Its better that you know your interest so that you can be sure to obtain your objectives. Learning programming can be tricky, and you might find your self lost in the vast world of code and logic. Better be prepared of your goal then focus on it.
What type of Programmer do you want
Is it desktop programmer, web developer or mobile programmer. Although those choices are closely related, (like web programming can be of used in mobile as well as desktop environment) there are still significant difference between them, and you have to choose the one that you desire.
Know your language
There are several programming languages to choose from, so its better to pick one at a time. Although programming languages have different syntax, the logic behind them are the same. This means that if you become expert with just one language, changing from different language will be easier. Web programming become more trending today and you can choose with several languages such as php, ASP.Net or Java. When it comes to desktop application you may choose from C#, Vb.Net or Java. There a many languages you can choose at, so have a little research about those then pick one.
Now you have your goal, the type of programmer you have and the programming language you will use in building your first programming project, you close to go!
But before that, lets learn and familiarize some basic terminologies that can be applied to any programming languages.
- Program – detailed set of instructions for a computer
- Programming Language – tool used to create a program; defined by semantics and syntax
- Semantics – the meaning of words in a language
- Syntax – rules for combining symbols of a language
- Source Code (code) – program you write using a programming language
- Interpreter – translates and executes source code statement by statement
- Compiler – translates source code into an executable file
- Executable file – standalone file that runs outside the Visual Basic environment; Used to distribute most Windows applications
Package and Deployment Wizard – creates all the files necessary to distribute your projects
- Pseudo Code – intermediate step between source code and native code
- Native Code (machine language) – instructions the computer can execute directly
- Dynamic Link Library (DLL) – translates instructions in executable file at runtime
Steps in Building Your First Programming Project
- Define the Problem
- Identify the problem you want to solve.
- Define the possible task you may take
- Know the thing that are needed to be done
- Break your problem specifically to identify most of it
- Design and Plan
- Design and plan steps of the process
- Find necessary steps to your problem
- Create step-by-step algorithm to your problem
- Draw sketch of your user interface, or the one you can see in your screen
- Build the Program
- Convert your algorithm using the programming language you selected
- Start coding
- Translate your sketch into actual interface
- Run the Program
- Run the program in your programming environment
- If you are in web base programming, run your program via your server
- Test and Debug
- Testing – mean you test your program if it is running properly
- Debugging – rewrite your code to fix or remove errors
- Bug – an error in your program
- Repeat this process until no errors are found
- Document your work
- From the beginning to end, always take document of your work
- Detail your work, the materials you have used for future reference
- Organize your documentation so that it will be more readable
- Compile and Distribute
- If you’re a desktop programmer, compile your project for distribution
- If you’re a web developer, host and give it a domain name
With these steps and methods you can now proceed with your learning and have fun.