Inherited Code Discussions | C++ | HackerRank

Inherited Code

  • + 1 comment

    Problem statement shows bad code style

    try {    
    } catch ( BadLengthException e ) {
    }
    

    See C++ Coding Standards: 101 Rules, Guidelines, and Best Practices "Throw by Value, Catch by Reference"