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

Author Topic: why not using a namespace  (Read 21968 times)

0 Members and 1 Guest are viewing this topic.

TriKri

  • Newbie
  • *
  • Posts: 6
    • View Profile
why not using a namespace
« Reply #30 on: May 30, 2010, 09:38:08 am »
I'm just wondering why the main namespace is called sf and not sfml? sfml is more descriptive in my opinion.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
why not using a namespace
« Reply #31 on: May 30, 2010, 10:19:51 am »
Because it's shorter, which is crucial because it prefixes every type name.
Laurent Gomila - SFML developer

TriKri

  • Newbie
  • *
  • Posts: 6
    • View Profile
why not using a namespace
« Reply #32 on: May 30, 2010, 02:09:09 pm »
Ok.