|
In Depth Software Development Strategies, Tip 1: Commenting by Graham McCarthy
I've spent the past couple of days learning a new computer language, PHP. I'm currently in the process of developing an online management system, and after a careful anaylsis PHP seemed to be the right language to develop with. So I have been going through some tutorials and looking at lots of... Comment your code: If anyone is going to be reviewing your code at any point in time, you should always leave appropriate commets to help guide them. ... Here is how I structure my commenting, lets use JAVA for this example
/////////////////////////////////////////
// Title of Program...
Documenting Comments Within Code by Duane Hennessy
Despite our best intentions we can not always guarantee that the documentation relating to our application will always be available, locatable or made available when needed. A solution to this is using our comments in code to document our application. ... I would suggest forgetting the update comment list and invest in Visual SourceSafe or some other source code versioning software. ... A simple documenting comment signifier like a hash or three d's after the comment character can make it easy to find documentation comments or extract them via a script if desired.
Coding Standards : A Must For Your Software Development Team by Manu Tripathi
Every programmer has her own style of coding like some use ‘inum’ for declaring an integer variable while some use ‘num_i’ for declaring the same. Like wise some programmers are lazy enough to add comments. These small drops when added together can create an ocean of confusion. ... Some comments should be enforced as mandatory, one of such comment can be the comment at the top of all programming page like – -------------------------------------------------------- Name of Module Last Modified By – Date – Modification History – Status -...
Five Programming Practices For Organized Code by Ashley Peach
In this article I will discuss five essential steps to producing well organized code. These are general practices that apply to most programming languages. 1, Classes: In languages where OOP is an option use it! OOP allows for organization as well as removing a lot of work by re-using code. ... 2, Spaces, Add lots of spaces to your code this will allow you to keep unrelated code separate. ... It can also be kept external meaning it’s not in your main code. ... I hope these tips help to keep your code well organized and efficient.
15 Good Programming Habits by Syed Feroz Zainvi
1. Before sitting down for coding, you must have formal or a paper-napkin design of the solution to be coded. Never start coding without any design unless the code is trivial one. 2. Good code documentation is as important as good knowledge of a programming language. ... Write brief logic for each major block of your code as comments in source code file itself. ... Once you are done with coding, start optimizing your code. ... When your final version is ready, simply comment the internals of this function.
Testing a Software by Gijo George
Software testing assumes a very important role in Software life cycle. Without proper testing software is incomplete. Testing should adhere to some general standards. To help a software tester, a test plan is prepared. This test plan broadly describes the approach towards testing particular... Code review involves ensuring proper comments in place before a block of code begins. ... Code review has to be done by another programmer or a tester who have some knowledge about coding. ... Code review is also a part of testing.
In Depth Software Development Strategies, Tip 3: Conditional Statements by Graham McCarthy
The third tip in the series is about Conditional statements A neat suggestion was posted as a comment on my last article, suggesting a really good way to prevent logic errors from creeping into your code. Logic errors being the hardest type of errors to find in computer code today. ... Make your code clear to read; the clearer the code, the easier it is to find errors later. ... Lets continue,
Since white space is never compiled into your program, you should never worry about making your code extra readible with space.
Managing Your Source Code Effectively by Gijo George
Managing software source code in a large software development environment is not an easy task, especially when number of people working on different modules of a large project. If you have not employed a powerful system to organize your source code, then it will result in big chaos inside the... The VSS shows the name of the developer and the comment put by him, who has checked out the file, so that other developers come to know who is working on what part of the project. ... There are several tools available in the market which make the task of managing source code an easy one.
It's Not Rocket Science, It's Programming by Duane Hennessy
Anyone can write a program these days, whether macro driven via wizards or using a powerful but simple syntactic language like Python. After all if software companies made languages too cryptic and difficult to use then their product would not market effectively through lack of support and... Write Scripts to Write Code
============================= There is one thing faster than typing fast or using your own code clip organiser and that is script that writes code for you. ... Use a Code Clip Organiser to Improve Speed and Quality
======================================================...
Choosing a Programming Language for Your Microcontroller by John Main
Assembler Assembler is the most obvious language that you'll consider using as you probably won't need to buy any other tools to use it. More than likely the manufacturer will provide an assembler for the chip and you won't need any books as all the instructions are in the datasheet and you... HLL: Code re-use Once you learn the HLL you will find it easy to read code written by other people and you will be able to re-use code that you have already written whereas with assembler you will constantly need to analyze the code to see if it fits in with your new functions.
|