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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bobwilson

Pages: [1]
1
General discussions / Event.Key.Code to correct ASCI CODE
« on: August 23, 2010, 11:01:15 am »
Quote from: "Laurent"
But the SFML key codes don't have to follow any standard (or I could use EBCDIC just to bother you), so just do the conversion on your side using a big switch or a table. Plus, it will be more robust on your side the day I decide to add a new code in the middle of the enumeration.

I don't see what's the problem with this.

If you want to get real characters from the input, rather use sf::Event::TextEntered which is done exactly for that and will give you UTF-16 standard.


I was VERY unimpressed with that statement.  If you are the dev of SFML you should know that there are extraneous situations that may call for such a function.  Not only that, but implementing such functionality should be (by any standard) the libraries job.

I hire programmers left and right.  One of the biggest things I look for in a programmer is the ability to recognize possible situations where certain functionality may be required and to implement it beforehand.

If you where applying for a job at my company I would not hire you because you failed that criteria.  Miserably.

Pages: [1]
anything