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

Author Topic: Is there a GetError() in sfml?  (Read 10356 times)

0 Members and 1 Guest are viewing this topic.

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Is there a GetError() in sfml?
« Reply #15 on: February 28, 2009, 03:47:03 pm »
Most programmers want things virtual in C++, kinda like aiming against what Objective-C or Ruby or any dynamic language provides. The whole function lookup process makes it slower. While when you stay with the original C version, it just binds the function to the symbol compiled in the executable.

And sure I agree Globals are bad, but they are very usable, and if used you should only have it as some internal things for a set of functions.



I think we've strayed off-topic.
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Is there a GetError() in sfml?
« Reply #16 on: March 02, 2009, 09:46:52 am »
Quote from: "Groogy"
Most programmers want things virtual in C++

Hopefully only when needed. Virtual functions are only needed for polymorphism. But yeah, most C++ programmers declare function virtual by default, which is a big no-no.

Quote
II think we've strayed off-topic.

True, but since the original question has been answered, I guess nobody cares. ;)

 

anything