Все вопросы: [interrogative-programming]
2 вопросов
2
голосов
2ответов
867 просмотров
Imperative vs interrogative methods
When implementing a class, is it better practice to return a value for methods (interrogative) or to simply manipulate class attributes directly within the method (imperative). For example, I have a class which builds a string to be output to a CSV file. I might do it this way: String output = ...
3
голосов
3ответов
1272 просмотров
Что подразумевается под императивным и вопросительным кодом
Мой менеджер попросил меня написать код в ASP.net. Что имеется в виду мой повелительный и вопросительный код. Как это относится к программистам?