Notices
Results 1 to 3 of 3

Thread: difference in english and C

  1. #1 difference in english and C 
    New Member srk123's Avatar
    Join Date
    Jul 2013
    Posts
    4
    Hello,
    I am a student jst entered in FYBSC computer science.. i wanted to know that we write the codes in English in "C" language.. then whats the difference in english and C language..? I will be thankful for the answer.


    Reply With Quote  
     

  2.  
     

  3. #2  
    Forum Radioactive Isotope MagiMaster's Avatar
    Join Date
    Jul 2006
    Posts
    3,440
    Code isn't written in English in C, it's just written in C. English speakers very often use English words to name their variables and functions, but those names aren't exactly a part of the C language and the compiler doesn't care what names you use as long as you're consistent. (This is a little like how proper nouns in English aren't often English words themselves.)

    The biggest difference between programming languages and natural languages, in general, is ambiguity. A computer can't handle much in the way of ambiguity and in the end it always needs to be able to deduce a unique meaning for each statement from a relatively small amount of context. Natural languages are full of ambiguity but humans are built to process that.


    Reply With Quote  
     

  4. #3  
    Brassica oleracea Strange's Avatar
    Join Date
    Oct 2011
    Location
    喫茶店
    Posts
    16,922
    Quote Originally Posted by jack john View Post
    And C is a language that is used for communicating a machine and a english speaking person, that is why it has both the elements for english speaking men and logic speaking computer.
    But C is used by many non-English speaking people. I have seen many computer programs that would be impossible for an English speaker to understand because all the comments and variable names are in Japanese.

    It is really just a historical accident that the few keywords are English. You could write a preprocessor to change them to another language if you want.
    ei incumbit probatio qui dicit, non qui negat
    Reply With Quote  
     

Similar Threads

  1. English
    By thyristor in forum General Discussion
    Replies: 8
    Last Post: April 15th, 2010, 07:05 PM
  2. English
    By nehelenia in forum General Discussion
    Replies: 9
    Last Post: April 14th, 2010, 01:40 PM
  3. English
    By Heinsbergrelatz in forum General Discussion
    Replies: 8
    Last Post: February 15th, 2010, 12:47 PM
  4. English
    By thyristor in forum General Discussion
    Replies: 8
    Last Post: September 23rd, 2008, 02:59 AM
  5. A little English help
    By Veeshan in forum General Discussion
    Replies: 3
    Last Post: November 29th, 2006, 03:27 AM
Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •