![]() | |
![]() | |
![]() |
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: Live, Laugh, Logged-On: Women & Personal Technology Getty Images Championing health tech innovation across borders: From personal setbacks to global entrepreneurship Harvard Gazette How to Secure Your Phone’s Data Before Traveling Abroad The New York Times Column | Zuckerberg’s new Meta AI app gets personal in a very creepy way The Washington Post TOP 10 personal tech and gadgets of 2024 Designboom Raspberry Pi slices Compute Module 4 prices theregister.com The Latest Personal Tech at CES 2025- The Accounting Technology Lab Podcast - Jan. 2025 CPA Practice Advisor Personal Enrichment Courses Wake Tech Can Using a Dumber Phone Cure ‘Brain Rot’? The New York Times About National Personal Protective Technology Laboratory Centers for Disease Control and Prevention | CDC (.gov) How Tech Created a ‘Recipe for Loneliness’ The New York Times Why a Tariff-Inflated $2,000 iPhone Is Nothing to Fear The New York Times Google goes cold on Europe: Stops making smart thermostats for continental conditions theregister.com Tech for Babies Is Booming. Here’s What One Parent Found Helped the Most. The New York Times Ignorance really is bliss when you’re drowning in information theregister.com Not a Coder? With A.I., Just Having an Idea Can Be Enough. The New York Times Google wins 1-1: Judge rules ad giant broke some antitrust law theregister.com Top 10 Personal Gadgets For Tech-Savvy Individuals Designed To Revolutionize Their Routine Yanko Design Tech support session saved files, but probably ended a marriage theregister.com A new operating model for people management: More personal, more tech, more human McKinsey & Company Tariff uncertainty looms large over budget conscious CIOs theregister.com How to Spend Less Time on Social Media (or Leave It Altogether) The New York Times Can You Turn Off Big Tech’s A.I. Tools? Sometimes, and Here’s How. The New York Times Apple’s A.I. Is Landing Soon on iPhones. Here’s What It’s Like. The New York Times How to Create a Multimedia Digital Journal of Your Life The New York Times Resellers may be sitting on costly pile of regret after US smartphone shopping spree theregister.com If TikTok Is Here to Stay, What Does That Mean for Us? The New York Times Framework guns for cheap laptops with upgradeable alternative theregister.com Tech Made Easy AARP The passive aggression of connecting USB to PS/2 theregister.com Why You Might Suddenly Be Following Trump on Instagram and Facebook The New York Times Laptop makers stalled on repairability improvements theregister.com Lenovo teases solar-powered and folding screen concept laptops theregister.com The sweet Raspberry taste of success masks a missed opportunity theregister.com Apple and Meta trade barbs over interoperability requests theregister.com This Ring on Your Finger Tracks Your Sleep. Is It Worth the Splurge? The New York Times Wozniak: I didn't reduce chip count for manufacturing. I wanted to prove I was clever theregister.com Hisense QLED TVs are just LED TVs, lawsuit claims theregister.com HP ditches 15-minute wait time policy due to 'feedback' theregister.com How to Download Your Videos and Other Data From TikTok The New York Times Slack, Microsoft Teams, Google Chat: Is There Any Safe Place to Complain About Work Online? - WSJ WSJ Google says it's rolling out fix for stricken Chromecasts theregister.com Brit watchdog probes Google's search, ads empire theregister.com Android beefs up Bluetooth tag stalker protections theregister.com |
![]() |
![]() |
![]() |
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 |