Sort:  

There will never be 21 million coins, because many were lost in the process of learning, @acesontop. But that is not broken. Bitcoin is designed as a deflationary currency.

Some guy told me that the code allows mining more than 21 million coins if consensus is achieved to vote a new code.

That’s true. Nakamoto consensus means 92% of all interested agrees. Therefore, there has to be a very, very good reason for such decision. Like it was for the implementation of Lightning Network which solved the speed problem.

BTW, the code is open, so you can see it for yourself, without ‘some guys’ who could tell you the truth, but also lies.