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 ...
user avatar
  • 184k
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....
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible