3
votes
In C#, is it reasonable to use a #region when I need several members to implement a common interface?
I know that lots of people hate #regions in C#
Whenever #region gets mentioned, people immediately jump on the bad practice bandwagon. And it's true that #region can be abused to hide monolithic code....
1
vote
In C#, is it reasonable to use a #region when I need several members to implement a common interface?
As with other code style issues, this is subjective and hard to make good universal claims. IEquatable had far fewer members and doesn't muddy readability as much as IEnumerable, for instance, but ...
1
vote
Object To Be Used By Service Layer
Follow the "Functional Core, Imperative Shell" model. This is the essence of all modern architecture including Uncle Bob's "Clean", the Onion architecture as well as things like the Elm architecture.
...
1
vote
Object To Be Used By Service Layer
Take a look into "Clean Architecture" by Bob Martin: https://8thlight.com/blog/uncle-bob/2012/08/13/the-clean-architecture.html
Just to summarize: your application's business rules must be testable ...
1
vote
How can I best organise a Jekyll + Bootstrap + Git site?
Separate build file from source.
/jek/_site # the stuff I actually want to upload - but don't really want in git
you can put it off from your main branch, jekyll has Continuous Integration support. ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
code-layout × 12android × 2
layers × 2
n-tier × 2
c# × 1
object-oriented × 1
.net × 1
git × 1
interfaces × 1
coding-standards × 1
teamwork × 1
orm × 1
repository × 1
templates × 1
automation × 1
code-organization × 1
file-structure × 1
eclipse × 1
cmake × 1
bootstrap × 1
whitespace × 1
install × 1