View Poll Results: Which language do you use the most?

Voters
68. You may not vote on this poll
  • C++

    35 51.47%
  • C

    15 22.06%
  • C#

    1 1.47%
  • Java

    1 1.47%
  • Perl

    1 1.47%
  • Visual Basic

    2 2.94%
  • Python

    0 0%
  • Fortran

    7 10.29%
  • COBOL

    0 0%
  • MATLAB

    2 2.94%
  • Other

    4 5.88%

Thread: Which language do you use the most?

  1. #16
    Senior Member joshdick's Avatar
    Join Date
    Nov 2002
    Location
    Phildelphia, PA
    Posts
    1,146
    Wow, that Hungarian notation is totally incomprehesible. Why would someone spend so much time to come up with a system of naming identifiers if that system would yield such undecipherable identifiers as these:
    Code:
    	1   #include "sy.h"
       2   extern int *rgwDic;
       3   extern int bsyMac;
       4   struct SY *PsySz(char sz[])
       6      {
       7      char *pch;
       8      int cch;
       9      struct SY *psy, *PsyCreate();
       10      int *pbsy;
       11      int cwSz;
       12      unsigned wHash=0;
       13      pch=sz;
       14      while (*pch!=0
       15         wHash=(wHash<>11+*pch++;
       16      cch=pch-sz;
       17      pbsy=&rgbsyHash[(wHash&077777)%cwHash];
       18      for (; *pbsy!=0; pbsy = &psy->bsyNext)
       19         {
       20         char *szSy;
       21         szSy= (psy=(struct SY*)&rgwDic[*pbsy])->sz;
       22         pch=sz;
       23         while (*pch==*szSy++)
       24            {
       25            if (*pch++==0)
       26               return (psy);
       27            }
       28         }
       29      cwSz=0;
       30      if (cch>=2)
       31         cwSz=(cch-2/sizeof(int)+1;
       32      *pbsy=(int *)(psy=PsyCreate(cwSY+cwSz))-rgwDic;
       33      Zero((int *)psy,cwSY);
       34      bltbyte(sz, psy->sz, cch+1);
       35      return(psy);
       36      }
    That code just makes me want to cry except for 'bltbyte' which makes me want a BLT.
    FAQ

    "The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs." -- Joseph Weizenbaum.

    "If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it." -- Richard Pattis.

  2. #17
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Currently C++, but it changes with the project/application. Sometimes Pascal, (Delphi), sometimes Fortran.

    BTW, your name geophyzzer, and your mention of MATLAB bought horrid memories of strain ellipsoids and the like back to me!
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #18
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    At work I currently use C most. But I think in new projects I will use C++ and Java more.

  4. #19
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    Shiro, do you just use plain C, or do you use some API(s)?

  5. #20
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    We use a lot of APIs, usually our customers provide us with APIs for their products. Our company has no own products, we do development projects for companies. Only if they haven't or if we have to develop new hardware, we have to write APIs by ourselves.

  6. #21
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    C++
    Althought I know Visual Basic, and Java, but they are not compared to C++, I enjoy coding in C++ more than any other language.
    none...

  7. #22
    Registered User codingmaster's Avatar
    Join Date
    Sep 2002
    Posts
    309
    C++ 4 president *g

    Why haven't u add PHP to the poll?

    PHP is the most used Apache module?

    And is running on 25% of the net servers!!!

    I use a lot of php for different projects (for the most database stuff)

  8. #23
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    Everyone will be shocked to learn that I use C the most at work. Though I have been known to use C++ a little and Perl extensively for my own uses.

    -Prelude
    My best code is written with the delete key.

  9. #24
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    Originally posted by Prelude
    Everyone will be shocked to learn that I use C the most at work.
    Shocked... except for the fact that you've mentioned it many many times

    Anyways, C++ owns C. End of discussion!

  10. #25
    c++ has more sylables, therefore it is a better language. Visual Basic has too many sylables, therefore it sucks.

    You don't like hungarian notation? I think it's great myself. I constantly forget variable types, and when the variables pop-up on the autocomplete in VC++ I can say "Oh, it starts with a n, must be an int".

  11. #26
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    I never use hungarian notation. It complexifies your code. In MSVC++ I just place my cursor over where a variable use used and a tooltip comes up showing how it was declared.

  12. #27
    Registered User Scourfish's Avatar
    Join Date
    Mar 2002
    Posts
    387
    English

  13. #28
    Registered User
    Join Date
    Jun 2002
    Posts
    82
    Originally posted by adrianxw
    Currently C++, but it changes with the project/application. Sometimes Pascal, (Delphi), sometimes Fortran.

    BTW, your name geophyzzer, and your mention of MATLAB bought horrid memories of strain ellipsoids and the like back to me!
    Mmmm...strain ellipsoids...

    Waitaminute...I didn't like structural geology...probably why I got into seismology.

    And MATLAB rocks, for those who don't know it...if nothing else, it got me a job in Hawaii
    Claus Hetzer
    Compiler: Borland 5.5 (on Windows)
    Solaris CC (on Unix)
    Known Languages: C++, MATLAB, Perl, Java

  14. #29
    monotonously living Dissata's Avatar
    Join Date
    Aug 2001
    Posts
    341
    face_master, same here, but reading examples with Hungarian Notation makes me want to kill someone.
    if a contradiction was contradicted would that contradition contradict the origional crontradiction?

  15. #30
    Registered User
    Join Date
    Apr 2002
    Posts
    249

    C++

    C++ is the best that human ever creat....
    C++ Almost like a CHAVY S.U.V.; IF you know how to drive it; THE ROAD IS YOURS..
    C++
    The best

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  3. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  4. Languages dying
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 07-29-2003, 10:08 AM
  5. Language Script..
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-30-2003, 06:48 AM