Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
General discussions
»
why not using a namespace
Print
Pages:
1
2
[
3
]
Author
Topic: why not using a namespace (Read 25129 times)
0 Members and 1 Guest are viewing this topic.
TriKri
Newbie
Posts: 6
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.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
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.
Logged
Laurent Gomila - SFML developer
TriKri
Newbie
Posts: 6
why not using a namespace
«
Reply #32 on:
May 30, 2010, 02:09:09 pm »
Ok.
Logged
Print
Pages:
1
2
[
3
]
SFML community forums
»
General
»
General discussions
»
why not using a namespace