10 Programming Tips

(1) Avoid using the same variable again and again for different purposes.

This happens with us that we think that more and more memory will be wasted if we declare seperate variable for each purpose. But, if any debugging is about to be done and program is quite a typical. Then, debugger will get confused and Dry-Run will also not work in such a scenario. So, if your program is small then, you can use the same variable. But, if it is complex, then do not use the same cheap practive.

(2) Use capital letter to variable name for global variables.

You should use capital letters because, there should be distinguishable difference between a local variable and global variable. There should not be any confusion while dry run or debugging.

(3) All the variables should be declared at one place.

This helps the programmer to analyze whether some variable is yet declared or not. If we declare them at different locations, then, a proper manner can not be acheived in your programming. The variables should normally defined just below the function declaration.

(4) There should be proper indenting in whole program.

Indenting helps you understand the program and the logic behind the statements well. This is cheap practice to write the functions, iterations and conditional statements without indenting. It looks like a junk also. There should be a proper demarkation in your mind and the same concept should be followed in all the portions of your program.

(5) Commenting.

Commenting is very much important. Although, there is no relation of them from your logic and programming. But, once you debug your program or new amendments are done, it becomes tedious to understand the logic behind that coding section. That is why, commenting is very neccesary in programming.

(6) Do not use labels.

In some programming languages like BASIC, there is scope of providing labels. Experts say that using such labels produces extra burden in the operating system. So, you should avoid them.

(7) Do not declare unused functions or variables.

This practice is also prohibited. You should not declare such a variable which is not getting used anyewhere. You should check it out when you are going through dry-run also.

(8) Coupling should be avoided cohesion should be increased.

Coupling comes to picture when the output of a function is input to other. This produces a sort of ripple effect and debugging becomes a problem and error-prone programming is found in such state.

(9) Always write the program or check the logic then, come to type.

This is a general practice that people directly sit on system and try to build logic and all the necessary corrections are done. But, such anactivity may produce problems like unused variable (regular declaration and descarding) , unused functions (declare and forget to call or just checking), moving in the wrong direction of logic. So, you should decide things before you come to portray them.

(10) Do not learn programs, try to develop your own logic.

Each person has logic but, there should be flow in that logic. If flow is absent then your ideas can not reach the destination. So, instead of learning an old algorithm, try to your own program based on your logic.

Som Dutt Tripathi is an IT personality. He wants to express many things and want to share his ideas with the world.

In The News:

This RSS feed URL is deprecated, please update. New URLs can be found in the footers at https://news.google.com/news

Opinion: How old-school manufacturers can reinvent themselves and beat back the software giants
MarketWatch
The software giants start with enormous technological momentum. Nearly all innovation in physical goods now requires a heavy dose of software. The Internet of Things, cloud computing, big data analytics and artificial intelligence are coming together ...


Forbes

Software Composition Analysis Startups: Investors Are Looking For These Three Qualities
Forbes
Given these impressive injections of capital into the software composition analysis market, some young entrepreneurs may see an opportunity to break into SCA with their own solutions. However, with all the competition from established players, these ...


Harvard Business Review

How Software Is Helping Big Companies Dominate
Harvard Business Review
Even outside of the tech sector, the employment of more software developers is associated with a greater increase in industry concentration, and this relationship appears to be causal. Similarly, researchers at the OECD have found that markups — a ...


Forbes

How A Mysterious Tech Billionaire Created Two Fortunes—And A Global Software Sweatshop
Forbes
rom an office suite on the 26th floor of the iconic Frost Bank Tower in Austin, Texas, a little-known recruiting firm called Crossover is searching the globe for software engineers. Crossover is looking for anyone who can commit to a 40- or 50-hour ...


Phys.Org

A smartphone and new software could help save infants born preterm
Phys.Org
The researchers have made software using the new algorithm open source and freely available online. In collaboration with Jennifer B. Griffin of RTI International, the software will be further tested and fine-tuned during an upcoming large-scale ...


Entrepreneur

How this Global Software Company's Revenue Has Grown Annually by 30 Per Cent In Last Three Years
Entrepreneur
In 2005, when Team Viewer had introduced its software in the market, they had no idea how the reactions would turn out to be for them. Today the company competes with the likes of Microsoft, Symantec and Cisco. The global software company, Team Viewer ...


GeekWire

Boeing and SparkCognition launch SkyGrid venture to build software for air mobility
GeekWire
SkyGrid is meant to complement the Federal Aviation Administration's role in air traffic management, and the company plans to work with regulatory authorities worldwide to make sure its software platform meets all the regulatory standards for safe ...

and more »

Software stocks experience worst selloff in nearly 3 years as tech continues to get beaten up
MarketWatch
Tech stocks got hammered Monday, leading the broader market lower as the software sector experienced its worst selloff in nearly three years. On Monday, tech stocks were the worst performing sector of the S&P 500 index's SPX, -1.66% 11 sectors ...

and more »

TimesLIVE

Software will see who's on site and who's workshy and doesn't get paid
TimesLIVE
Imagine only getting your wage after facial recognition and fingerprint readers have biometrically verified your identity, recorded your attendance on site and the hours worked. This is now a reality with the unveiling by the Gauteng department of ...


Wichita Eagle (blog)

This longtime Wichita software business just sold to an international company
Wichita Eagle (blog)
JaRay Software, a longtime Wichita family business, has sold to ServiceTitan, an international company that does software for residential services such as plumbing, HVAC and electrical. “I have such incredibly mixed feelings about everything,” Paul ...

Google News

Managing Stress in the Computer Industry - Five Steps to a Stress-free Life

It would be easy to think, like most people apparently... Read More

Antivirus Software ? Get The Bugs Before They Get You!

You turn on your computer, and it doesn't look quite... Read More

Microsoft CRM Customization

Microsoft CRM customization techniques are very diversified and based on... Read More

Can You Calculate Complex Financial Calculations?

Are you a whiz at calculating financial information? Not the... Read More

The Truth about Colossus: Are You Just A Magnetic Image?

What is Colossus?Colossus is software licensed to about twenty-five insurance... Read More

Free Software - Powerful Alternatives to Budget-Busting Software

When you buy a computer, it most likely comes with... Read More

Anti-Virus Software

Anti-virus software is used to find, remove or fix files... Read More

10 Steps To Secure And Manage Your Passwords

Passwords protect your most sensitive personal, financial and business information.... Read More

Microsoft Great Plains Project Accounting ? Overview For IT Director/Controller

Microsoft Business Solutions is now in process of creating so... Read More

SpyBot - Search and Destroy versus Microsoft AntiSpyware (Beta).... My personal experiences...

Ok... Where to start?Well, I guess I will start at... Read More

10 Things You Could be Using Photoshop For, But Probably Arent

Most people don't use Photoshop to its fullest capabilities. Here... Read More

Microsoft Great Plains Implementation for Large Corporation ? Overview for VP IT

Microsoft Business Solutions Great Plains was historically designed to serve... Read More

Microsoft Great Plains Implementation & Customization: Computer Parts Retailer Example

Microsoft Great Plains fits to majority of horizontals and retail... Read More

C++ Tutorial 1, Introduction to C++

Introduction to C++Why Learn C++?C++ may at first seem like... Read More

Microsoft Great Plains Customization: Project Organization ? International Business Example

Microsoft Business Solutions Great Plains fits to majority of horizontal... Read More

Understanding Document Management

The term "document management" and "paperless office" is the subject... Read More

Know Linux

Linux essentials:It's free for download but you have to pay... Read More

The End of Spyware?

The US House of Representatives has recently passed the "Spy... Read More

Vlans

In order to implement VLANs in a network environment, you'll... Read More

Tripwire for Linux File Integrity

What is Tripwire?Tripwire is a form intrusion detection system (IDS)... Read More

Great Plains Dexterity Customization Options ? Overview For Developers

Looks like Microsoft Great Plains becomes more and more popular,... Read More

Microsoft CRM Data Import FAQ

Microsoft CRM has built-in conversion tool, however you should probably... Read More

Lotus Domino Implementation and Development: Infrastructure ? Present and Future

Domino server is a buffer between the operation system and... Read More

Why Java RDBMS?

It is a well known fact that Java as a... Read More

Microsoft Navision Customization Upgrade ? Tips For Programmer/IT Specialist

Currently Microsoft Business Solutions is on the way of creating... Read More