1,423 reputation
11016
bio website
location
age
visits member for 4 years, 1 month
seen 2 days ago

Being relatively anonymous allows me to submit the stupid questions that other people are too afraid to ask.


Oct
16
comment How to choose between using a Domain Event, or letting the application layer orchestrate everything
thanks for the interesting link to the info on domain events.
Oct
16
revised Are long methods always bad?
Altered formatting to show that, for those who don't know, code complete is actually the title of a book.
Oct
16
comment Are long methods always bad?
@wobbily_col Your main problem seems to be having any code in separate files - "I sometimes find it makes the code less readable, when you need to constantly jump from one method to the next figuring out all the parts of it, while keeping the outermost method in your head.". Solution (a) find a good IDE that knows OOP to make jumping between and viewing code easier (b) name methods so that you don't have to look in the inards to determine what they do.
Oct
14
revised Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
added 148 characters in body
Sep
4
comment Why doesn't the DART language use a special character to identify variables?
To those who vote down...its a perfectly valid question. If you want to ask a different 'better' question then feel free to ask it.
Sep
4
comment How can a non-technical person learn to write a spec for small projects?
Eric Evans' book on 'Domain Driven Design' is all about how developers can eek out knowledge from the domain experts. So, may be relevant for people interested in this.
Aug
30
comment Teaching myself, as a physicist, to become a better programmer
+1 for suggesting Code Complete. It really is the best thing that the op can read to solve the issue in question.
Aug
30
comment Is it a good idea to design an architecture thinking that the User Interface classes can be replaced by a command line interface?
@Vandell I have the Second Edition of Code Complete and this is not mentioned on page 25. Which edition are you referring to?
Aug
20
comment Abstracting away the type of a property
You might find discussions that reference Martin Fowler's 'Encapsulate Field (206)' Refactoring useful.
Aug
17
comment Work flow when editing files in /var/www. Constantly needing to input “sudo” commands
Is the dev server on a virtual machine? If so, I tend to ensure the 'web docs directory' is a shared directory and edit the files on my host machine.
Aug
9
revised What is the term for this type of refactoring
added 355 characters in body
Aug
1
answered What is the term for this type of refactoring
Jul
11
comment How does Github calculate language percentage in a repo?
@DeadMG If it was on Github's help site/forum I would not have seen it. Hence, I like the fact that this interesting question is here.
Jun
28
revised Relationship between Repository and Unit of Work
added 35 characters in body
Jun
25
revised Relationship between Repository and Unit of Work
added 76 characters in body
Jun
16
revised Relationship between Repository and Unit of Work
added 6 characters in body
Jun
16
revised Relationship between Repository and Unit of Work
added 6 characters in body
Jun
16
answered Relationship between Repository and Unit of Work
Mar
27
revised How would you know if you've written readable and easily maintainable code?
edited body
Mar
27
revised How would you know if you've written readable and easily maintainable code?
added 13 characters in body