No one would play an online game where your playstyle is assigned to you randomly. Everyone would just delete their characters or create countless accounts. It just doesn't make any sense.
Main character seems like an idiot for not doing the job that he was hired for and instead of focusing on easter eggs. It is kind of understable why he wasn't liked at the start.
There is so much wrong with this story and it's only the first chapter!
First, even if that code snippet implied creation of anything like an easter egg—and it definitely doesn't—this code would merely result in an error and that's it. Seeing as this was supposed to show us MC's coding 'brilliance', which he does instead of his actual work, the treatment by his boss and co-workers appears to be well justified... though it's much more likely that he would have been fired by now in most circumstances.
Second, the author doesn't appear to know to difference between exploiting a bug and discovering an easter egg. Easter egg is not a mistake or a flaw, it's an intentional content that can be accessed by performing a predefined set of actions or satisfying very specific conditions—usually something that is nonsensical in the context of regular gameplay.
In other words, an easter egg would be "if you die and re-roll your class selection 10 times during the character initialisation, you get the rare 'double class' assignment"... While, in contrast, "keep dying and re-rolling the class selection with hope that one of the re-rolls is going to yield the super low % class assignment" is a plain bug exploitation, and any admin spotting this behaviour in an online game would reward it with a ban.
Third... you know what, no, I won't cover just how unsympathetic the MC has been thus far...
Fourth, someone already covered this, but a game with class assignment like this would be an instant fail and a fiscal loss for the company. This only makes sense in this particular scenario, where it represents the 'another world lottery' setup... *sigh*...
@KamiKira00 lol Gunbound did something similar, with one of their modes. It was interesting, and adds some spice; but yeah, agree. Loads of peeps would make new accounts to get the one they want.