Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: C++ (And others too) aliases for functions  (Read 32621 times)

0 Members and 1 Guest are viewing this topic.

Daazku

  • Hero Member
  • *****
  • Posts: 896
    • View Profile
C++ (And others too) aliases for functions
« Reply #15 on: August 26, 2008, 12:48:37 am »
Plz dont say anything when you don't know: C/C++ have standard conventions: ISO/IEC 14882:1998 && ISO/IEC 14882:2003.
Pensez à mettre le tag [Résolu] une fois la réponse à votre question trouvée.
Remember to add the tag [Solved] when you got an answer to your question.

SirJulio

  • Full Member
  • ***
  • Posts: 241
    • View Profile
C++ (And others too) aliases for functions
« Reply #16 on: August 26, 2008, 01:39:52 am »
No, they don't.

The only thing which can't be used is __xxx and _(UpperCase)xxx because this is reserved for implementation (17.4.3.1.2 iso C++).

Daazku

  • Hero Member
  • *****
  • Posts: 896
    • View Profile
C++ (And others too) aliases for functions
« Reply #17 on: August 26, 2008, 02:07:25 am »
They dont say it explicitily but they always name their function in lowercase and classe with one letter to uppercase (the first one).

Anyway i'm stoping this discussion right now :D on this: C++ have a standard convention. A "Standard non official" convention says that classe must start with an uppercase letter and variable/functions must start with lowercase to have a "distinction". BUT ANYWAY the lib have his own convention and that it.
Pensez à mettre le tag [Résolu] une fois la réponse à votre question trouvée.
Remember to add the tag [Solved] when you got an answer to your question.

pamaury

  • Newbie
  • *
  • Posts: 31
    • View Profile
C++ (And others too) aliases for functions
« Reply #18 on: August 26, 2008, 11:00:35 am »
This is going nowhere so I suggest the following procedure instead of debating:
-type "C++ naming convention" in google
-read first three or four answers
-type "http://www.parashift.com/c++-faq-lite/coding-standards.html" in you URL bar
-read the entire page
I believe it shows quite easily that there is no C++ standard even a non-official one.

  • Guest
C++ (And others too) aliases for functions
« Reply #19 on: September 02, 2008, 08:01:09 pm »
I love the library but it needs to be forked because the admin is shallow minded and bull headed.

pamaury

  • Newbie
  • *
  • Posts: 31
    • View Profile
C++ (And others too) aliases for functions
« Reply #20 on: September 02, 2008, 11:29:17 pm »
If you want to fork juste because of a naming convention, then you are probably narrow minded.

Wizzard

  • Full Member
  • ***
  • Posts: 213
    • View Profile
C++ (And others too) aliases for functions
« Reply #21 on: September 03, 2008, 12:37:38 am »
Quote from: "pamaury"
If you want to fork juste because of a naming convention, then you are probably narrow minded.

It's shallow-minded and bull-headed too.

  • Guest
C++ (And others too) aliases for functions
« Reply #22 on: September 03, 2008, 02:33:11 am »
Ok. I'll admit it. your turn.

quasius

  • Full Member
  • ***
  • Posts: 166
    • View Profile
C++ (And others too) aliases for functions
« Reply #23 on: September 03, 2008, 11:12:43 am »
I'd rather continue to ignore this silly thread, but now I feel compelled to say that I'm sure 99% of the people using SFML appreciate the work Laurent et al have been doing and aren't hung up on the naming convention.

dewyatt

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
    • http://dewyatt.blogspot.com
C++ (And others too) aliases for functions
« Reply #24 on: September 03, 2008, 09:14:13 pm »
You shouldn't care so much about naming conventions.
What matters is that the name gives you a hint about what something does or is.
Obsessing over a naming scheme just shows that you haven't been coding very long.

I don't understand how you can insult Laurent on his own forum about his own software.
Quote

// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.


I very much appreciate Laurent's hard work and have no problem with his naming scheme.
I've even adopted the "my" prefix in my own code (though I still maintain a lowercase first character in function names, etc).

bullno1

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
C++ (And others too) aliases for functions
« Reply #25 on: October 06, 2008, 06:23:49 pm »
Even C++ compilers are not standardized  :D . Just look at the mess in boost source code. That's what you'll get when you try to make everyone happy.

And most IDE have code completion, who cares about upper or lowercase?

coral

  • Newbie
  • *
  • Posts: 37
    • View Profile
C++ (And others too) aliases for functions
« Reply #26 on: October 06, 2008, 10:11:29 pm »
Epic drama?

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
C++ (And others too) aliases for functions
« Reply #27 on: October 12, 2008, 03:24:14 pm »
Quote from: "quasius"
I'd rather continue to ignore this silly thread, but now I feel compelled to say that I'm sure 99% of the people using SFML appreciate the work Laurent et al have been doing and aren't hung up on the naming convention.
Agree. Anyway, I got the impression that most of feature requests would only make less than 1% of SFML users satisfied... :roll:
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything