Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I got 2 reputation twice, for editing the same answer twice. Is this a feature or a bug?
It's a feature.
The earned reputation is calculated from the number of edits, even if they come from the same post. This is intended behavior.