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: From personal aircraft to e-bikes to robots: 5 tech innovations seen at CES Las Vegas Review-Journal Minnesota tech on display at country’s biggest consumer electronics show, with 3M leading the way Star Tribune Time to Finally Organize Your Digital Photos. First You Have to Find Them. - The Wall Street Journal Time to Finally Organize Your Digital Photos. First You Have to Find Them. The Wall Street Journal TOP 10 personal tech and gadgets of 2024 Designboom How AI Will Change Personal Tech in 2025 - Tech News Briefing - WSJ Podcasts The Wall Street Journal Shop the best Cyber Monday deals on phones, tablets, smartwatches and more Good Morning America Tech That Will Change Your Life in 2025 The Wall Street Journal Things to Try: Our 9 Top Tech Tips for You The Wall Street Journal The 28 Best Tech Gifts of 2024, According to Our Gadget Gurus The Wall Street Journal I’ve Been Driving an EV for a Year. I Have Only One Regret. The Wall Street Journal How Tech Created a ‘Recipe for Loneliness’ The New York Times Can You Turn Off Big Tech’s A.I. Tools? Sometimes, and Here’s How. The New York Times The Great AI Challenge: We Test Five Top Bots on Useful, Everyday Skills The Wall Street Journal Android beefs up Bluetooth tag stalker protections The Register Apple’s A.I. Is Landing Soon on iPhones. Here’s What It’s Like. The New York Times The Coolest Tech Gadgets We’ve Tested So Far This Year BestProducts.com Touch Screens Are Over. Even Apple Is Bringing Back Buttons. The Wall Street Journal Opinion | Why Is Technology Mean to Me? The New York Times The Data Big Tech Companies Have On You Security.org The Summer Is So Hot, Workers Are Wearing High-Tech Ice Packs The Wall Street Journal Apple Watch Is Becoming Doctors’ Favorite Medical Device The Wall Street Journal In the City, Personal Safety Starts With Your Smartphone The Wall Street Journal No way? Big Tech's 'lucrative surveillance' of everyone is terrible for privacy, freedom The Register When Cell Service Is Down, You Can Send iPhone Texts via Satellite The Wall Street Journal Why Turning It Off and Turning It Back On Is Gadget-Fixing Magic The Wall Street Journal Apple Intelligence Isn’t Very Smart Yet—and Apple’s OK With That The Wall Street Journal China's homebrew Bluetooth alternative is on the march as Beijing pushes universal remotes The Register What the Arrival of A.I. Phones and Computers Means for Our Data The New York Times My Husband Wants a Japanese Toilet. Is He On to Something? The Wall Street Journal How I Got My Attention Span Back The Wall Street Journal How to Add Extra Security Layers to Your Phone or Tablet The New York Times Jonathan Haidt Blamed Tech for Teen Anxiety. Managing the Blowback Has Become a Full-Time Job. The Wall Street Journal The Only App That Always Wins the Battle for Your Attention The Wall Street Journal Exclusive | Wanted: Weekend Warriors in Tech The Wall Street Journal Amazon Wants Your Palm and TSA Wants Your Face. What Saying Yes Will Mean. - The Wall Street Journal Amazon Wants Your Palm and TSA Wants Your Face. What Saying Yes Will Mean. The Wall Street Journal Foldables Are Becoming Good Enough to Be Your Next Smartphone The New York Times When Did Apple’s Notes App Become an Extension of Our Brains? The Wall Street Journal How to Reduce Your Risk When Using Personal-Finance Apps The Wall Street Journal This Ring on Your Finger Tracks Your Sleep. Is It Worth the Splurge? The New York Times How to Turn Your Old iPhone Into an A.I. Phone (and Skip the Upgrade) The New York Times Tech Made Easy AARP A Case for Backing Up Your Precious Photos and Files at Home The Wall Street Journal I Tried a $1,000 Trash Can for Two Months—and I Get It The Wall Street Journal The Screen Time You Shouldn’t Feel Bad About The Wall Street Journal The Hearing Aid Revolution That Wasn’t The Wall Street Journal The Battle to Ban Screens From School Now Includes Chromebooks and Tablets - The Wall Street Journal The Battle to Ban Screens From School Now Includes Chromebooks and Tablets The Wall Street Journal China wants mobile devices to limit usage time for minors, ensure they only see nice content The Register How to Make Typing Easier on the Phone and Leave the Laptop at Home The New York Times Young Women With Eating Disorders Feel the Pull of Energy Drinks The Wall Street Journal How TikTok Is Wiring Gen Z’s Money Brain The Wall Street Journal PC shipments stuck in neutral despite AI buzz The Register Slack, Microsoft Teams, Google Chat: Is There Any Safe Place to Complain About Work Online? The Wall Street Journal |
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 |