Superficial Syntax thread: Your favorite keywords/class names etc.

This is a discussion on Superficial Syntax thread: Your favorite keywords/class names etc. within the A Brief History of Cprogramming.com forums, part of the Community Boards category; So what are your favorite keywords that denote something either unique to a language or shared across a language? Personally ...

  1. #1
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901

    Superficial Syntax thread: Your favorite keywords/class names etc.

    So what are your favorite keywords that denote something either unique to a language or shared across a language?

    Personally I prefer the term Function rather than Method. I guess I was introduced to it firstin C/C++ but it just has a more reminiscent ring to it.

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Katy, Texas
    Posts
    2,309
    If it's OO, I prefer the term Method over Function.

    I despise "Property" with OO.
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  3. #3
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I also don't like the term "Getter/Setter". I prefer properties actually.

  4. #4
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    I despise the terms "property" and "method". I think they are the bane of our existence.

    I think they should always be referred to as "function" and "member variable".
    My Website

    "Circular logic is good because it is."

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,636
    In C++, methods are virtual member functions
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  6. #6
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Katy, Texas
    Posts
    2,309
    Maybe someone will post that has an opinion...
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  7. #7
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    I once read that a "method" is any member function of a class, and a "function" is any function that is not part of a class. Despite what might define a method or a function, I still despise "method" and like to use "function" because I view the term "method" as a Java-ization of the programming community. Yes I am completely biased.
    My Website

    "Circular logic is good because it is."

  8. #8
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,069
    I don't think too much about the terminology and try not to let any of it get to me. However, I would agree with indigo about "getters" and "setters." That always seemed very VB to me. I personally like the term (and concept) of Polymorphism because it makes me feel more like a wizard than any other programming term.
    Sent from my iPadŽ

  9. #9
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Katy, Texas
    Posts
    2,309
    I do code in Java, but I cut my teeth on OO programming with Ruby and its terms.

    Classes
    Class Instance Variables
    Class Instances
    Instance variables
    Class Methods
    Instance Methods

    I occasionally use the "member" adjective when discussing with Java programmers, but only when talking Java. Haven't gotten that deep with C++ yet.
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  10. #10
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,667
    I'm more intrigued by the buzzwords softwae companies twist into sentences in press releases, such as "robust" and "synergy."

  11. #11
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Katy, Texas
    Posts
    2,309
    I like encapsulation and reflection.

    In my day job, "FFDC" is a big term. Stands for First Failure Data Capture, with means if the software abends, it is able to capture the failing environment so the user does not have spend time recreating the failing scenario.
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  12. #12
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I prefec object to Class Instance, and members of member variable to Class varables.

  13. #13
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    I like the term method, it refers specifically to a member function. Properties to me is specifically a member variable. I use the terms interchangeably depending on who im speaking with. I guess I'm really still a C programmer though.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  14. #14
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,636
    I personally like the term (and concept) of Polymorphism because it makes me feel more like a wizard than any other programming term.
    lol, come to think about it, I agree, but I would include type cast into the mix
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  15. #15
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    I mainly prefer "function" because I like to go back to programming's roots: math. Math has functions.

    I also prefer "elegant" rather than "robust". I don't mind robust though. I think it is a good word. I just like thinking of something as "an elegant way of doing things" or "an elegant solution."
    My Website

    "Circular logic is good because it is."

Page 1 of 3 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. PlaySound
    By cangel in forum C++ Programming
    Replies: 16
    Last Post: 10-08-2009, 05:29 PM
  2. Simple thread object model (my first post)
    By Codeplug in forum Windows Programming
    Replies: 4
    Last Post: 12-12-2004, 10:34 PM
  3. Replies: 2
    Last Post: 04-12-2004, 01:37 AM
  4. Closing thread handles from within
    By Sang-drax in forum Windows Programming
    Replies: 6
    Last Post: 09-26-2003, 12:18 PM
  5. How to make a thread sleep or std::recv timeout?
    By BrianK in forum Linux Programming
    Replies: 3
    Last Post: 02-26-2003, 09:27 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21