![]() | |
![]() | |
![]() |
Personal Technology Information |
|
![]() |
15 Good Programming Habits
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. Its good to mention creation and modification dates of your program along-with why modification was required. 3. Maintaining versions of your program is another important task. Some present-day programming tools already have a built-in version management. Whenever you make any change to your program, they save its copy as .bak file. My approach is to maintain 3 versions of a program. Say, I have a file program.c which is used by other project team members also. I copy this file as program.c.old as backup and make another copy as program.c.wrk where I do modifications. When modifications are successfully compiled, replace program.c with .wrk file. You can also append a date or some explanation phrase to your program versions like program260505.c or programReadFnWrking.c . 4. If your project contains multiple source files then maintain a README file stating purpose of each source files, data files, intermediate and log files (if any). You may also mention the compilation and execution steps. 5. Ever wondered why your IF statement is not working as it should do. May be your are using single equal i.e. "=" instead of "==" in the condition check. A good approach is to write condition in reverse order. So, your condition should read something like this: if ( 10==i) ....So, if you put single equal sign by mistake then it will be detected at compilation time only as an error. 6. While using loops and conditional statements, always first put closing braces corresponding opening braces and then write the inner statements i.e. 1) for(int i=0;i MORE RESOURCES: I Quit Google Search for AI—and I’m Not Going Back The Wall Street Journal If TikTok Is Here to Stay, What Does That Mean for Us? The New York Times TOP 10 personal tech and gadgets of 2024 Designboom The Latest Personal Tech at CES 2025- The Accounting Technology Lab Podcast - Jan. 2025 CPAPracticeAdvisor.com The Five Things You Shouldn’t Tell ChatGPT The Wall Street Journal Personal Enrichment Courses Wake Tech Newsroom Tech for Babies Is Booming. Here’s What One Parent Found Helped the Most. The New York Times Not a Coder? With A.I., Just Having an Idea Can Be Enough. The New York Times AI Solves My Most Annoying Chore: Meal Planning for a Toddler The Wall Street Journal How Workplace Tech Has Changed Over the Years, From the WSJ Archives The Wall Street Journal How Tech Created a ‘Recipe for Loneliness’ The New York Times Tech That Will Change Your Life in 2025 - WSJ The Wall Street Journal iRobot may be iDead in iYear The Register The Trouble With Searching Google for ‘the Best’ The Wall Street Journal The Snapchat Move That Leaves Teen Girls Heartbroken The Wall Street Journal When Cell Service Is Down, You Can Send iPhone Texts via Satellite The Wall Street Journal How to Create a Multimedia Digital Journal of Your Life The New York Times Office Technology Comes to the Movies: Test Your Knowledge With Our Quiz The Wall Street Journal Top 10 Personal Gadgets For Tech-Savvy Individuals Designed To Revolutionize Their Routine Yanko Design Your iPhone Storage Is Full Again. Do This to Reclaim Space. The Wall Street Journal Shop the best Cyber Monday deals on phones, tablets, smartwatches and more Good Morning America The 28 Best Tech Gifts of 2024, According to Our Gadget Gurus The Wall Street Journal ChatGPT vs. Claude vs. DeepSeek: The Battle to Be My AI Work Assistant - WSJ The Wall Street Journal Can an App Replace a Personal Trainer? I Tested Nearly a Dozen to Find Out - The Wall Street Journal Can an App Replace a Personal Trainer? I Tested Nearly a Dozen to Find Out The Wall Street Journal Tech Made Easy AARP Things to Try: Our 9 Top Tech Tips for You The Wall Street Journal Can You Turn Off Big Tech’s A.I. Tools? Sometimes, and Here’s How. The New York Times How to Make Typing Easier on the Phone and Leave the Laptop at Home The New York Times The Summer Is So Hot, Workers Are Wearing High-Tech Ice Packs The Wall Street Journal Touch Screens Are Over. Even Apple Is Bringing Back Buttons. - WSJ The Wall Street Journal Apple Intelligence Isn’t Very Smart Yet—and Apple’s OK With That - WSJ The Wall Street Journal I Replied ‘Stop’ to a Political Text Message. I Got 100 More. - WSJ The Wall Street Journal The Coolest Tech Gadgets We Recommend for 2025 BestProducts.com Wozniak: I didn't reduce chip count for manufacturing. I wanted to prove I was clever - The Register The Year Everyone Started ‘Manifesting.’ Does It Work? The Wall Street Journal Apple’s A.I. Is Landing Soon on iPhones. Here’s What It’s Like. The New York Times Want an iPhone 16 Review? Just Ask Joannabot The Wall Street Journal What the Arrival of A.I. Phones and Computers Means for Our Data The New York Times Apple Watch Is Becoming Doctors’ Favorite Medical Device - WSJ The Wall Street Journal This Ring on Your Finger Tracks Your Sleep. Is It Worth the Splurge? The New York Times How to Download Your Videos and Other Data From TikTok The New York Times Apple Headset Stalls, Struggles to Attract Killer Apps in First Year The Wall Street Journal The Only App That Always Wins the Battle for Your Attention The Wall Street Journal No way? Big Tech's 'lucrative surveillance' of everyone is terrible for privacy, freedom The Register Android beefs up Bluetooth tag stalker protections The Register The Great AI Challenge: We Test Five Top Bots on Useful, Everyday Skills The Wall Street Journal Laptop makers stalled on repairability improvements The Register PC shipments stuck in neutral despite AI buzz The Register Exclusive | Google’s Gemini Live AI Sounds So Human, I Almost Forgot It Was a Bot The Wall Street Journal Why You Might Suddenly Be Following Trump on Instagram and Facebook The New York Times I’ve Been Driving an EV for a Year. I Have Only One Regret. - WSJ The Wall Street Journal Running Your Household Is a Second Job, but It Doesn’t Have to Be The Wall Street Journal Brit watchdog probes Google's search, ads empire The Register |
![]() |
![]() |
![]() |
RELATED ARTICLES
Dynamite Comes in Small Packages - Tiny Personal Audio MP3 Players Pack Powerful Music Enjoyment MP3 players are Hot! Playing music has come a long way since the transistor radio, portable tape and CD player days. Most players are no larger than a deck of cards. How To Search Your PC With Google Desktop In this era of Internet, most people are frequent users of computers. Many of us use computers through out the day, accumulating morasses of information in various formats, which include email, digital photo, word document, spreadsheet, presentation file, ebook, article, other downloaded files, music, visited web pages, and many others. Ergonomics and Healthy Computing - Positioning Your Body For Maximum Comfort At Your Computer Do you remember the old saw about how computers would change our lives for the better? We'd have more time to ourselves and lead healthier, happier lives. The truth is computers do make processing information lightening fast. What Are You Looking For In A Cheap MP3 Player? Are you stymied by the vast offerings in cheap mp3 players? Don't know which features best suit your needs? Here are some suggestions based upon product reviews by mp3 player owners.The first thing you must consider is how you plan to use your mp3 player. Getting Started with HTML The basic language of the internet is html. If you can do crossword puzzles, if you can write a report for your teacher or boss, you can be creating web pages in a matter of minutes. Your Affiliate Business - Peripherals, Software, Computers I have always been interested in computers, but in the beginning, I would not venture any further than to the software end of learning. However, learning only the software side, and knowing nothing about the hardware side, can open you up to some costly times at the shop. Mail-merging: The Principles About mail-mergingMail-merging is the process of merging variable data and fixedtext.Using mail-merging, you can create individualised letters,envelopes, labels and other documents without having tolaboriously create each individual one. Improve PC Performance - 6 Tips You Must Know Are you frustrated with your PC?Is it feeling sluggish or crawling at a snail's pace?Are programs running slower than they used to?Are you just plain fed up with frequent slowdowns, freezes or crashes?Then it's time to stop what you're doing and optimize your system to improve PC performance!Follow these 6 simple sure-fire tips to help improve PC performance and you'll be surprised by the results! Each comes with an indication of how often you should do it.Improve PC Performance Tip #1:CLEAN UP YOUR WINDOWS REGISTRY (Frequency = Daily)This is an essential, but often overlooked, task to improve PC performance. Virtual Memory - What is It? I recently got an e-mail asking about virtual memory. The person who sent me the question was getting an error on random occasions from their Windows operating system stating "Your computer is low on virtual memory". Keeping the Windows Registry Operational The registry is where the computer stores information about the configuration of the system and the programs installed so that the operating system can use them.Regularly maintaining the registry is a basic requirement. A Tale of Two Regeds Tech support tells me to type 'regedt32' as opposed to 'regedit' to access the registry from the command line (Start > Run). I question the use of 'regedt32,' but he says to do it anyway. 4 Computer Money-saving Tips Tip #1 -- Rebates:A rebate is not always a bargain. Computers with rebates are often close to being discontinued. Got Virus? GOT VIRUS? Your Data is NOT lost forever!In the wake of so many computer viruses running wild, "Hope is not lost"!With the recent release of such viruses as: mydoom; netsky; mofei, lovegate and many more destructive viruses, there is an affordable solution to recover your lost files from your hard drive.Selecting a Data Recovery Service Company can be a challenging and confusing undertaking to say the least. Temporary Fixes to Spyware, Ad-ware, and Virus Infections So you've got some spyware, ad-ware, or viruses on your system. For whatever reason, you are unable to get ahold of a virus detection & removal program, or a good ad-ware scanner. Spyware Remover Your first step in removing dangerous infections from your computer should be downloading a free program called Hijack This. Make sure you download the file and extract it to a directory on your hard drive, you can call it HijackThis. Help, I Need a New HDTV! (Part 4 of 5) Feeling overwhelmed in selecting a new TV? With all the choices these days, you may feel like, "Where do I start?!"In part 4 of our 5 part article, we the discuss "do I really need an HDTV?"---Right now, stations are moving towards HDTV programming. Although available for free over the air in major metropolitan areas, this process will take a few years to fully unfold. Simple Overview Of Computer Computer is an electronic machine work on the instructions of human being. In other words you have to input data to get your required output. Why Build Your Own Computer System Have you ever thought about building your own computer system? Maybe you've heard friends talking about doing this sort of thing, but you were never sure what was involved. This article attempts to answer two questions. Help, I Need a New HDTV! (Part 3 of 5) Feeling overwhelmed in selecting a new TV? With all the choices these days, you may feel like, "Where do I start?!"In part 3 of our 5 part article, we the discuss what HDTV is.HDTV stands for High Definition TV. Tips For Finding Great Deals On Computer Accessories & Supplies Tip #1. Do a Google search. ![]() |
home | site map |
© 2006 |