<div dir="ltr">Hello,<br><br>Exceptions like the name suggested, is to mark something that you are not suppose to expect.<br>For example while getting a data something went wrong, like disconnection, wrong size of data etc...<br>
<br>The usage of exception is very costly in performance, and there for should use only on specific events imho. <br><br>But we use exceptions even on places such as StrToInt, when the string is not an integer number, but we can expect to either have a number or something else. So why use an exception there ?<br>
<br>What do you think on this subject ? How would you choose when or where to use exceptions and why there ?<br><br>Ido<br>
</div>