| bio | website | sourcecontribute.com |
|---|---|---|
| location | Canada | |
| age | 26 | |
| visits | member for | 2 years, 7 months |
| seen | 17 hours ago | |
| stats | profile views | 42 |
Application Developer, Django/Python, Ruby/Rails, Common Lisp, Scheme, Java
|
Jun 6 |
comment |
Why do people fork repositories on GitHub? When you aren't using Github, you're going the old-school route and creating a local cloned copy of the project so you can modify it. Forking on github gives you access to pull requests which are preferred by many projects. If you're on another project, you'll end up creating patches and sending those in to be reviewed. |
|
May 27 |
comment |
Should I allow my client to self host? ^^^ this exactly. It's hard to show off a portfolio when half the links are dead or the page is restyled later on |
|
May 22 |
comment |
End-to-end tests versus unit tests, should tests be decoupled? What I'm worried about is that we'll be coding towards acceptance tests which leads to large classes or methods instead of smaller units. |
|
May 21 |
comment |
End-to-end tests versus unit tests, should tests be decoupled? That's a good answer. I see the value of both but seeing the number of possibilities for fully testing all paths with end to end tests is helpful for explaining why unit testing needs to be done more than it is |
|
May 6 |
comment |
Using only UI testing. Is that Ok? They're also brittle because it's possible to change the UI very quickly. If the UI code is modular, you should only be testing what your application adds, and let the UI framework test the core functionality of UI elements |
|
Apr 29 |
comment |
Starting a recurring project from scratch @MarkJ this is a bit different, I'm coming at it from the "when is a rewrite not appropriate" angle, though some of those answers are useful |
|
Apr 28 |
comment |
Starting a recurring project from scratch the coworker suggested that it would be faster and more inline with current best practices if we rewrote the code. so I guess that would be reason #2, doesn't like the current wheel. |
|
Apr 28 |
comment |
Is it a good idea to schedule regular time to clean up code? The only thing I can think of is scheduling code reviews for a project (if they aren't conducted regularly) |
|
Apr 28 |
comment |
Automated Testing: Explaining its Business Value I'm not sure why you lumped in UI tests with Acceptance tests, the James Shore blog mentions three types of tests (other than Acceptance tests): unit tests, integration tests and end-to-end tests. End to end tests include UI tests. There is value in them, but end to end tests do take a little more time to write. |
|
Apr 28 |
comment |
how to convince team and project manager that post-launch deployments are okay for new features @RossPatterson indeed, I checked and the project went over-budget (which is messed up considering we delivered on time and I don't think anyone clocked in overtime) ;p |
|
Apr 25 |
comment |
how to convince team and project manager that post-launch deployments are okay for new features @pdr that's a good call, we don't do any optimization on our projects ever and I missed the most obvious solution...you can indeed setup better indexing with django/python |
|
Apr 25 |
comment |
how to convince team and project manager that post-launch deployments are okay for new features there's a single server that's hosting the web, application and database servers. there's no perceived issue because the page load time isn't included as a metric for project success, just that we include X features by Y date. should I frame it as a problem or as a learning experience for myself or...? |
|
Apr 3 |
comment |
Does a developer really have to know build tools, classpath etc? If the scope of your usage is small and well-defined I don't see a problem with not knowing the tools, but it will force you into dependence on a whole bunch of other people. It's just as easy to know your damn tools and much less annoying. |
|
Mar 12 |
comment |
Are these good reasons for moving to Microsoft web development platform? good answer, but it doesn't mention the fact that free/open source software makes you feel the warm fuzzies inside ;) |
|
Mar 11 |
comment |
is down-casting always bad? GeneralObject should be renamed to SerializableObject or something and its purpose will be clear. I don't think you need to add the getPerson and getPlace methods to the GeneralObject class, but it doesn't matter much. You know exactly what kinds of objects you're passing around, at some point they're going to be downcast. The LSP is violated only if you're thinking about the code in a particular way. If you want to substitute a Person for a Place, that's no good. if you want to substitute them when creating the message using the System API, that's okay. |
|
Mar 11 |
comment |
is down-casting always bad? @TomSquires don't really understand your comment. |
|
Mar 11 |
comment |
In which order should I do comparisons? Wouldn't readonly variables help to alleviate this issue sometimes? |
|
Mar 11 |
comment |
is down-casting always bad? Downcasting a pointer vs making a generic payload into a specific object are two different things. Are the services actually different processes that communicate or is it all within the same program? |
|
Mar 11 |
comment |
Extreme Programming Daily Commits @BrianKnoblauch at work with former SVN users, I feel weird because I'm the only one committing a crapload of times per day. Committing 6+ times in one day and the last commit was a revert of all the previous commits. Former SVN users are too used to big commits and merges I think |
|
Feb 21 |
comment |
How can I tactfully suggest improvements to others' badly designed code during review? As I said, it's possible to frame it as a learning experience for both developers. Also, having your own code ensures that you're doing the "put up" part of "put up or shut up" which is a situation that isn't fun to be in. I too like discussing solutions but discussion can only take you so far. |