Shabda's Home

Programming and Natural languages

E-mail this post

Remember me (?)

All personal information that you provide here will be governed by the Privacy Policy of More...

Programming and lateral languages.

Programming languages are like your everyday English- or Spanish, or hindi if you prefer. All languages C, Java, Hindi and English come with their own syntax, rules, grammar, constructs and idiosyncrasies. All languages have their strengths Latin for the courts, Pidgin English for the common folk, Java for the web and C for systems.
“I ate a mango” is syntactically correct and compiles with the English compiler V 3.1 of your head. But try running Hindi, Spanish, or Java compiler on it and you are sure to get an error message. A program written in java won’t compile with an English compiler. “I ate a play” is syntactically incorrect even with the English compiler. Did you eat or did you play. (It will surely violate some rule of English, but my grammar is too poor to find out what). “I ate a man” may be syntactically correct but has a logical error. It compiles, it does violate no rule of English grammar. But really are you a cannibal?
Really is a programming language anything other than a natural language minus redundancy and verboseness and no ambiguity. How long before we are able to program in English. Or will it be the other way. We learn to talk in Java?

1 Responses to “Programming and Natural languages”

  1. Blogger Askinstoo 

    Nice Blog!!!   I thought I'd tell you about a site that will let give you places where
    you can make extra cash! I made over $800 last month. Not bad for not doing much. Just put in your
    zip code and up will pop up a list of places that are available. I live in a small area and found quite
    a few. MAKE MONEY NOW

Leave a Reply

      Convert to boldConvert to italicConvert to link


About me

Previous posts
This is a Flickr badge showing public photos from shabda. Make your own badge here.



ATOM 0.3