• Home
  • Posts RSS
  • Comments RSS
  • Contact me
Blue Orange Green Pink Purple

FEATURED - CONTENT ---> Developing a Twitter application !

The thought process has started, thanks to the End Semester Projects we are obliged to submit in our college. The idea of making a Twitter application seems nice so far and considering the fact that no one else from my college has tried doing it, I won't have difficulties getting it stamped with the Green Signal to continue . But as I said it in a full fledged post, I am anyhow going to complete it even if I don't get the nod from the college faculties to submit it as a project. Maybe I'll stack it in my PC or offer it to my friends for free , in that case. People tracking the PDLC can go through the comments on the post here

Why do people despise the GOTO statement ?

 

One of the more dreaded and despised functions in C/C++ or any programming languages is the GOTO statement. The very utterance of this word infuriates most trainers and their students, as good boys and girls,  honestly believe them and refrain from using it thenceforth . Now how many of you / the trainers actually know the reason behind this . As a test try asking them or your friends who constantly nag and poke you in the eye every time you happen to use it.

Ok for the sake of history , the GOTO statement was downplayed by the eminent computer scientist Edsgar Dijkstra . Ya ! the same fellow you gave us the shortest path algorithm. In his hand-typed-on-his-typewriter -  consecutively numbered technical notes, trip reports, insightful observations, and pungent commentaries, known collectively as "EWDs"  for several dozen recipients in academia and industry he put that conviction into practice.

His explanation for the disparagement of the poor GOTO can be read from the E .W .Dijkstra archives at the utexas website HERE ! As you will find, his explanation is very geeky( it *has* to be geeky, he was a computer scientist ) and novices seldom understand his paper in the first or even 2nd trial of reading.

Recently I happened to read it ( was just curious ) and tried to make it as simple as I could. The major argument that he put forth was…



As a program is written in a programming language, the course of action of converting the program into its equivalent process flow ( the equivalent machine code instructions ) should be left to the machine compiler. The human mind should not intervene in the "process" , it is the machine's duty to produce the desired effect of the program written by the programmer as we, humans have some intellectual limitations and sometimes ,accidently are liable to force a fault . Its like “You do your job , let the machine do its ! ”

This is a rational and a wise programming practice according to Dijkstra and I agree with his doctrine .

He proceeds to give a fairly simple example of counting the number of people entering the room which can be read at the link given earlier to further fortify his paper.

So my fellow friends we are advised not to use the GOTO statement in the programming languages, next time someone pokes you, be sure to ask him/her and actually clarify his/her doubt about it !!

NOTE : ( The above opinions have been interpreted entirely by me on the basis of the original manuscript and might not be 100% correct. The readers are advised to read the original manuscript in its entirety. Do keep coming with your valuable comments and suggestions !! )

-> Why we shouldn’t use scanf() ( * !! * ) and void main(void) as a rational programmer ? coming soon ….

- Have fun and always try to implement good programming practices  .

Vandit Khamker.


Technorati del.icio.us Stumbleupon Reddit Furl Yahoo
[ ---------------------------------------------------------------------------------- ]

Related Posts :



[ ---------------------------------------------------------------------------------- ]
Read More 0 comments | Scribbled by vandit | edit post

0 comments



Post a Comment

Type away young fella !!

Post a Comment

Type away young fella !!

Newer Post Older Post Home

Vandit's web-zine

  • About
      About me:
      Hello guys !! I am Vandit , a sensible person generally, but I do write some obscure articles occasionaly.I may fall into the digerati category but I am not well versed with linux. I am a hardcore Windows fan but also respect Linux freaks and mac zealots. Hope you like my blog and keep coming up with your creative comments ! Apart from technology , I do write about current affairs, persiflages on my daily anecdotes and other interesting topics. Thanks for Visiting !
  • Subscribe To

    Posts
      Atom
    Posts
    Comments
      Atom
    Comments

    Quotation of the Day

    You Are Visitor no:

    web counter

    My Twitter updates

    Twitter Updates


      follow me on Twitter

      Blog Archive

      • ▼  2009 (41)
        • ►  October (1)
          • Thoughts from people of our age ( via @sengupta )...
        • ►  September (1)
          • Heights of epicaricacy !
        • ►  August (1)
          • A twitter application under development.
        • ►  July (2)
          • Thoughts on Piracy and My disappearance from the b...
          • Awesome Geeky “Your momma … ” quotes !
        • ►  June (3)
          • Fantastic Optical Illusion
          • Respect for opinion.
          • Pardon me for a moment ,fellas !
        • ►  May (4)
          • The Twitter Faux Pas .
          • Yes, I am flabbergasted !
          • Access the root without a root password on a Linux...
          • Google’s innovation of the year is …
        • ▼  April (7)
          • Partitioning HDD in Vista .
          • CAT 09 to go online !!
          • “ The Hummus ” Recipe
          • Hackintosh is pointless, after all !
          • Earnest apologies, my amigos !!
          • The “ THE ” and the “ A ” .
          • Why do people despise the GOTO statement ?
        • ►  March (6)
          • An experience at the vaccination centre
          • Sony Cybershot T77 – An unofficial Review
          • Dell Studio 15 - The flaws that crop up !
          • Amazing Photoshop Tutorials !
          • The Linux Kick-Off !!
          • Get a full-screened turbo c/c++ on windows Vista !...
        • ►  February (5)
          • An experience with Dell customer care .
          • Creating Unattended Windows XP installation CDs .
          • Imposing beauty !!
          • An account on Sharukh Khan- His pre-stardom days !...
          • The strange case of stubborn bails
        • ►  January (11)
          • A day in the garden with my p1i
          • What went wrong with SATYAM ? - A brief note on sa...
          • The mysterious case of missing “ LIFE ” !!
          • The official invitation post !!
          • The journey !!
          • Wah India !! Way to go !!
          • Stamp and coin collection .
          • Tilt-shift photography
          • Windows 7 available for beta testing .
          • An attempt to phish me in vain !
          • Hidden / Useful features in windows vista.
      • ►  2008 (36)
        • ►  December (6)
          • Benchmarking approaches insanity
          • The reason behind Recession decoded !!
          • Questions that have puzzled me till date .
          • Unofficial guide to protecting privacy on the inte...
          • Lectures by IIT and IISC professors available here...
          • QWERTY fetches me 2000 bucks and counting !!
        • ►  November (7)
          • Running an OS from within another OS !
          • Enabling/disabling windows features
          • Happy birthday to me !!
        • ►  October (8)
        • ►  September (6)
        • ►  August (6)
        • ►  July (3)
      • ►  2006 (1)
        • ►  July (1)

      My Blog List

      • Tweaking with Vishal
        Microsoft Office 2010 Beta Available for TechNet and MSDN Subscribers
        4 hours ago
      • Penned Thoughts by Aayush Arya
        Apple Innovates, Microsoft Imitates T-Shirt | MacMerc.com: The MacMerc Store
        1 day ago
      • CHRONICLES OF DEMENTIA
        MY SACHIN TENDULKARS
        2 days ago
      • I'm Just Being Manan
        Microsoft Store’s Windows 7 USB/DVD Tool To Go Open Source
        3 days ago
      • Goobimama's Soggy Blog
        The River Princess in the hands of a sick Bureaucracy
        1 week ago

      Our recent Visitors !!

    • Find Your Favourite Articles




      • Home
      • Posts RSS
      • Comments RSS
      • KNOW ME BETTER !!

      © Copyright Vandit's Webzine. All rights reserved.
      Designed by FTL Wordpress Themes | Bloggerized by FalconHive.com
      brought to you by Smashing Magazine

      Back to Top