Why are cheats in the game?.
I was asked this question by my niece, many years ago and I answered that it was the codes put in at the time of development to allow them to test game levels, and that they did not remove them before shipping it.
Was this answer correct?, I don't know but it seemed like a reasonable answer at the time

.
People say cheats should not be in games, I think they should for two reasons:
1. After you have finished the game without cheats , then you can play through again with cheats just for the hell of it and skip some annoying levels and yes every game has at least one

.
2. There are some games that may be too hard for people, and after x amount of times trying to pass that section they give up in frustration and the game is never played again.
This is why difficulty levels have been put into a lot of games, but the developers have to walk a fine line by making a game challenging but not impossible (which causes frustration taking away the fun factor) and not too easy ( which will cause boredom taking away the fun factor). The section of the game may be too hard ie a section where a character might have to jump on platforms avoiding obstacles while trying to reach the exit within a certain time or they die. Then they might use a cheat to skip this level and play through to the end game without cheats.
The placement of some easter eggs may be only reachable when you use cheats.
I do not condone cheats in multiplayer games, these games come down to your own skill and knowledge of the levels (and your ping

), not against npc weighted towards the AI ie in RTS games where the enemy always seem to have more resources than what you do, and early ai rushes in the game before you have barely any resources to do anything.
I remember playing HL team fortress (first time I really played online fps) with a higher lag than the other players on the server ( me being in australia and them in america ), I would still get half the kills than the top player and still learnt alot (ie hop everywhere you went and watch out for red dots).
I have noticed the lack of cheats for a lot of the ps3 games, no button mashing in a short period of time to enable cheats or a cheat menu

.
PC/Console game player.
Yes some games play better on console than pc and vise versa but a gamer is a gamer no matter what they use

.