# Understanding User and Kernel Mode

**URL:** <https://discourse.codinghorror.com/t/understanding-user-and-kernel-mode/405>\
**Category:** blog\
**Created:** [January 3, 2008, 12:00am UTC](https://discourse.codinghorror.com/t/understanding-user-and-kernel-mode/405 "2008-01-03T00:00:00Z")\
**Posts on this page:** 1\
**Showing post:** 43

<div class="post-metadata">

**Author:** ![JonathanH](https://discourse.codinghorror.com/letter_avatar_proxy/v2/letter/j/8dc957/32.png) [@JonathanH](https://discourse.codinghorror.com/u/JonathanH)\
**Post date:** [January 4, 2008, 12:00am UTC](https://discourse.codinghorror.com/t/understanding-user-and-kernel-mode/405/43 "2008-01-04T00:00:00Z")

</div>

gogolo:  
if you can circumvent the use exceptions why not go ahead : for  
example in c# the TryParse () method is a good exception work-around

If I recall correctly, if you reflect TryParse() you get something like this:

bool TryParse (object obj)  
{  
try  
{  
return Bool.Parse(obj);  
}  
catch (e)  
{  
return false;  
}  
}

---

_[View the full topic](https://discourse.codinghorror.com/t/understanding-user-and-kernel-mode/405)._
