Indeed, "let it crash" approach is better than unclear error in some indeterminate place later. Here we depend on data from "inpredictable" source, so assertions are not suitable.
27 июля 2017 г. 22:35 пользователь "Valentin Kulichenko" < [email protected]> написал: Do you suggest to throw an exception instead of assertions? -Val
