vladfaust
offline
Опыт:
12,714Активность: |
Обнуление
Какие типы локальных переменных нужно обнулять? Перерыскал поиск. J говорит - надо все, кроме int, real, bool. ADOLF же причитает, что обнулять player - чистый бред, и не надо обнулять string.
Существет много разных типов
» Выдержка из RtCCommon.j
Обнулять надо ВСЕ типы?
inadequate_ добавил: Товарищи умные джассеры. Вопрос не очень легкий. Но все-таки выскажитесь... Отредактировано inadequate_, 07.12.2011 в 17:34. |
07.12.2011, 18:09 | #1
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
DracoL1ch
offline
Опыт:
9,540Активность: |
|
07.12.2011, 18:31 | #2
+1/−1
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
vladfaust
offline
Опыт:
12,714Активность: |
|
07.12.2011, 18:43 | #3
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
ScorpioT1000
Работаем
offline
Опыт: отключен
|
inadequate_, xgm.ru/p/wc3/w3_data_types статья строилась на знаниях жонни, адольфа, тоада и еще дюжины конченных киборгов |
09.12.2011, 04:47 | #4
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|