1,423 reputation
11016
bio website
location
age
visits member for 4 years, 1 month
seen Dec 3 at 0:30

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


May
21
comment Why is using 'final' on a class really so bad?
Nice article. It speaks my thoughts about this. I did not know about those annotations so that was handy. Cheers.
Apr
30
comment What, in reference to DDD, is a bounded context?
Yes. As far as I can see it. It's a fence.
Feb
8
comment Why does automated testing keep failing in my company?
One thing about web testing (Selenium) - most people, it seems, test the html source as opposed to the higher level user behaviour. This ends up with very brittle tests that keep breaking. Avoid brittle tests like the plague - for your sanity!
Dec
2
comment What is MVC, really?
Thank you dreza.
Nov
21
comment What is the correct way to handle debug output in Java?
Do you practice Test Driven Development (TDD) with unit tests? Once I started doing that, I noticed a massive reduction in 'debug code'.
Nov
19
comment Music Notation Editor - Refactoring view creation logic elsewhere
I think two books might be useful to you: 'Design Patterns, by the Gof' and Domain Driven Design by Eric Evans.
Nov
19
comment Music Notation Editor - Refactoring view creation logic elsewhere
Re: " I'm not sure how to solve certain notation logic without [bi-directional relationships]." I think you should loosen up and just be very liberal about creating new classes (on paper). Start making up new words to describe those 'things' that would have no place if you got rid of a bi-directional relationship. For example: "a note needs to know about .xyz.. to determine their accidentals". Why not put all that stuff into an "AccidentalsMap". Purge those bi-directionals breaking down everything so it has just one responsibility. Add new classes to glue them together, then prune to taste.
Nov
18
comment Music Notation Editor - Refactoring view creation logic elsewhere
p.s - I like what you are trying to achieve with your project - it sounds ambitous, but really cool if you can pull it off.
Nov
18
comment Music Notation Editor - Refactoring view creation logic elsewhere
"All of the relationships are bi-directional". Wow. That really scares me. I would try and eradicate all bi-directional relationships and that would just make things so much simpler. ...... Also Have you considered adding some kind of "Song", "Timeline" or "Track" entities upon which these things can hang?
Nov
5
comment Beyond Syntax Highlighting - What other code representations are possible today?
Wow! Great link to that Bubbles video. Bubbles looks really intuitive. I can't imagine writing much code in bubbles, but I like the idea for helping me explorer the code.
Nov
5
comment How do operating systems… run… without having an OS to run in?
I used to wonder that...then I read Charles Petzold's best selling book 'Code' and it all made sense. amazon.co.uk/Code-Language-Computer-Hardware-Software/dp/…
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
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.
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.
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.