5
votes
Accepted
Best pattern/practice to execute a multi-step code generation process
There is nothing inherently wrong in having an orchestator doing these steps one after another. When all you need is this fixed step of sequences, don't start to throw some fancy patterns at the code ...
1
vote
Accepted
Does it make sense to use byte instead of int in Java?
The rule basically consisted of checking a range between 1 and 12
Bytes don't have a range between 1 and 12. Therefore, by using a byte, you don't make your code or your intentions clearer in any way....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
programming-practices × 1551design × 148
java × 131
design-patterns × 118
object-oriented × 86
c# × 84
coding-style × 75
c++ × 70
patterns-and-practices × 65
architecture × 64
programming-languages × 64
python × 52
unit-testing × 47
testing × 43
coding-standards × 43
javascript × 41
php × 41
development-process × 37
code-quality × 37
c × 36
object-oriented-design × 35
project-management × 34
web-development × 32
version-control × 31
language-agnostic × 31