tresinformal / drakkar

The tresinformal video game called 'Drakkar'
GNU General Public License v3.0
11 stars 4 forks source link

Use 'int' instead of 'unsigned int' or 'short' #593

Closed richelbilderbeek closed 1 year ago

richelbilderbeek commented 1 year ago

In the class scoreboard there are those fancy datatypes called 'unsigned int' and 'short'. It is recommended to always use int (see Scott Meyers, 'Efficient C++' and 'C++ Coding Standards: 101 Rules, Guidelines, and Best Practices' by Sutter & Alexandrescu).

Reasons are:

richelbilderbeek commented 1 year ago

Hi @EvoLandEco, can I give you this Issue? I feel it would be a good execise :-)

EvoLandEco commented 1 year ago

@richelbilderbeek Of course, I'll have a look

richelbilderbeek commented 1 year ago

@EvoLandEco Fun and thanks! We can do this together next week as well of course :-)

EvoLandEco commented 1 year ago

Closed by #603