Показать сообщение отдельно
Старый 19.07.2010, 11:05   #3  
kashperuk is offline
kashperuk
Участник
Аватар для kashperuk
MCBMSS
Соотечественники
Сотрудники Microsoft Dynamics
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии 2011
Лучший по профессии 2009
 
4,361 / 2084 (78) +++++++++
Регистрация: 30.05.2004
Адрес: Atlanta, GA, USA
Actually, you'll see a lot more of those in the new AX release.
There is nothing wrong with putting such statements into the code.

Their purpose is to assert a very specific condition, that MUST be satisfied.
If it is not, something is VERY wrong, and we should not continue.
They are intended for developers changing the code - when doing some testing of the changes, you would be able to easily see that something is wrong.

So, again - this is a good thing that they are there.