Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/a26f9f83/public_html/articles/includes/config.php on line 159
10 Programming Tips > NetSparsh - Viral Content you Love & Share

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

Forbes

Digital Transformation Reveals Limitations Of Software Packages And SaaS
Forbes
Most large enterprises were on a journey for the past 30 years where a higher and higher proportion of the core systems driving the enterprises was software packages or software as a service. Traditional wisdom for companies was “don't build – buy ...

and more »

The Verge

Microsoft alters Surface Hub 2 hardware, delays new software features to 2020
The Verge
Microsoft is unveiling hardware changes to its Surface Hub 2 today. The software giant first unveiled its 50-inch display earlier this year, with a promise of a 2019 release. While the hardware will now be released in Q2 of 2019, many of the cool new ...
Ignite 2018: Microsoft shows off Surface Hub 2 running latest WCOS softwareOnMSFT (blog)
What's next for Surface Hub 2 - Microsoft Devices BlogMicrosoft Devices Blog - Windows BlogWindows Blog

all 54 news articles »

American Software: The SaaS Narrative Collapses
Seeking Alpha
American Software has tried to frame itself as an SaaS company - but 'cloud' sales still represent less than 12% of revenue. A disappointing Q1 undercuts much of the optimism that revenue growth is set to accelerate. After a nearly 40% plunge, AMSWA ...

and more »

TOP500 News

IBM Introduces Software to Alleviate AI Bias
TOP500 News
A cancer treatment recommendation powered by machine learning may be right 98 percent of the time, but what are the liabilities of the software-maker when a misdiagnosis results in death? A less fatal, but still undesirable type of bias comes into play ...

and more »

Threatpost

Adwind RAT Scurries By AV Software With New DDE Variant
Threatpost
The spam campaign features two types of droppers that leverage a new variant to the already-known DDE code-injection attack on Microsoft Excel – enabling them to bypass AV software. DDE is a legitimate method for transferring data between applications ...

and more »

ZDNet

Adwind Trojan circumvents antivirus software to infect your PC
ZDNet
"Although both the generic method and the payload are known, this campaign show[s] how some variance into well-known artifacts can trick antivirus [software]," Cisco Talos says. "Their behavior, however, is clearly classical, which means that ...


CMSWire

Choosing a SaaS Product: 7 Non-Software Related Considerations
CMSWire
When it comes to choosing software, you need to consider more than just the code itself. As more and more companies incorporate software-as-a-service (SaaS) tools into their marketing technology stacks, we felt it was important to address seven vital ...


GeekWire

Pixvana's new virtual reality production software lets you edit VR content while wearing a headset
GeekWire
Seattle startup Pixvana today released the full version of its software platform SPIN Studio that helps virtual reality filmmakers edit, process, and deliver video at 8K resolution. Perhaps the most notable update to SPIN is the ability to edit VR ...

and more »

Mashable

Snag this illustrating software on sale for 50% off
Mashable
Clip Studio Paint Pro is an all-inclusive software meant to make it easier to draw and paint on your computer or tablet. Once you download the software, you'll have access to over 10,000 downloadable brushes as well as a handful of 3D models and figurines.

and more »

Epic Concepts Achieves Innovative Preferred Software Partner™ Status
PR Newswire (press release)
NEWPORT NEWS, Va., Sept. 24, 2018 /PRNewswire/ -- Innovative Enterprises, Inc., an expert strategic partner to the background screening industry, proudly announced that Epic Concepts has achieved Innovative Preferred Software Partner™ status.

and more »
Google News

Great Plains Dexterity Programming ? Overview For Developer

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

Did You Ever Want to Completely Erase Everything on Your Computer?

Did you ever want to erase everything on your computer?... Read More

Microsoft Great Plains ? Licensing & Product Versions

Current Microsoft Business Solutions Great Plains has more that 10... Read More

Bridging the Gap between Paper and Data

The cornerstone of successful automated office systems is the ability... Read More

Screenshots Vista Windows

Features Additionally, Vista will include many other new features.Aero Vista... Read More

Microsoft Great Plains: carpet, textile, fabric, felt distributor ? implementation overview

In this small article we will show you the possible... Read More

Cross-Platform Custom Software Development & Integration ? IT Strategy for Large Corporation

Microsoft Business Solutions products: Great Plains, MS CRM, Navision, Axapta,... Read More

The Hidden Power of Online Manual

Writing software manuals is boring, isn't it? We often think:... Read More

Separate Anti-Keylogging Protection: Who Needs it Most?

If there still are few unprotected computers left, I haven't... Read More

Microsoft Great Plains, Navision, Axapta ? Selection Considerations

During the years of our consulting practice, which comes back... Read More

Scrap Booking Online: Word Perfect or Corel Graphics Suite?

Scrapbooks are very popular these days. I think that almost... Read More

Microsoft Great Plains Integration with Legacy Systems ? Overview For Developer

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

Microsoft Great Plains Dynamics on Pervasive SQL.2000 Data Repair ? Overview For DBAs

Some introduction into Great Plains Software products, now Microsoft Business... Read More

Backing Up And Restoring Your MySQL Database

If you've been using MySQL database to store your important... Read More

Computer Based Language Development and Spell-checking

Language development computer: Computer-based method for aiding language development seems... Read More

Microsoft Great Plains: If You are Orphan Client ? What to Do and FAQ

Microsoft Business Solutions Great Plains, former Great Plains Software eEnterprise,... Read More

Guide to Software Marketing

Intro This concise article will tell you in plain English... Read More

Windows x: Basic Windows ?Security? Issues

Language development computer: Computer-based method for aiding language development seems... Read More

Quick Summary of Basic and Common Linux Commands

There are many commands that are used in linux on... Read More

10 Ways to Learn a Software

Following tips help you to learn a software in lesser... Read More

Microsoft Great Plains Nationwide Remote Support

ERP Consulting industry is on the way to serve clients... Read More

Partitioning, Formatting and Reinstalling in Windows 98

Formatting and reinstalling windows 98 is very easy if you... Read More

A Symons Mark II Function Point Counting Example

I provide, here clear explanations and a count of function... Read More

6 Easy Steps for a Smoother CD/DVD Order

It's all about turn times in the eMedia industry! The... Read More

Microsoft Great Plains - Microsoft RMS Integration ? overview

Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More