184 reputation
7
bio website
location
age
visits member for 2 years, 3 months
seen Jul 19 at 11:08

Mar
22
revised Inverse of Extract Interface refactoring
Added anti-patterns tag, since this refers to the so-called Interface anti-pattern
Mar
22
revised Inverse of Extract Interface refactoring
Added anti-patterns tag, since this refers to the so-called Interface anti-pattern
Mar
22
comment Inverse of Extract Interface refactoring
I found this blog that speaks of Merge Interface and Implementation (and it's spot-on to the gist of my question). It also states that no popular IDEs offer this refactoring, which also kind of answers my question at the same time. @david.pfx I recommend you submit your remark as an answer.
Mar
21
asked Inverse of Extract Interface refactoring
Mar
21
comment Do I need to use an interface when only one class will ever implement it?
Every class can have a public interface (the public methods) and a private interface (the implementation details). I could argue that the public interface of class is the contract. You don't need an extra element to work to that contract.
Mar
9
comment Difference between class clusters and abstract factory in cocoa
stackoverflow.com/a/2459385/1168342 has a few comments, one of which points out that Abstract Factory subclasses are usually public (whereas class cluster sublcasses are private).
Mar
7
comment How is the publish-subscribe pattern different from gotos?
+1 publish/subscribe allows loose coupling; goto does not
Mar
5
comment Is it bad to have classes as properties of all other classes?
"making MVC programs for work as an intern..." -- that seems very abstract. MVC is intended to make it easy to extend existing programs to add new views, etc. Hopefully your internship goes far enough to show you the benefits of MVC, and that you're actually making code that has some socio-economic value.
Mar
1
comment Software architecture which allows for growth, real life situation
Tl;dr use information hiding more.
Mar
1
comment Software architecture which allows for growth, real life situation
Code Complete sec 5.3 design heuristics has some great advice that applies here. Use abstractions, encapsulate implementation details, inherit when it simplifies, hide secrets (that which is hidden, can be changed without breaking code in classes that don't see), etc.
Sep
11
answered When should complexity be removed?
Jul
2
answered UML Diagrams of Multi-Threaded Applications
Jun
17
comment How can I salvage my internship?
Internships en.wikipedia.org/wiki/Internship are different from Cooperative Learning Techniques en.wikipedia.org/wiki/… - Which one are you supposed to be doing? This is why my school has three one-semester coops (as opposed to internships) :-)
Jun
16
comment Forcing people to read and understand code instead of using comments, function summaries and debuggers?
@timday Linus Torvalds has some strong opinions.
Jun
15
awarded  Commentator
Jun
15
comment Forcing people to read and understand code instead of using comments, function summaries and debuggers?
Debuggers are very useful when accidental complexity (vs essential complexity) is high. Bad code is a form of unnecessary complexity, so I agree that debuggers are not intended as tools for this.
Jun
15
comment Forcing people to read and understand code instead of using comments, function summaries and debuggers?
+1 design choices are commented
Jun
15
comment Forcing people to read and understand code instead of using comments, function summaries and debuggers?
Senior programmers aren't always the most qualified. They maybe just haven't moved on to better jobs.
Feb
25
revised Is there a reason that tests aren't written inline with the code that they test?
typos verbs etc.
Feb
25
suggested suggested edit on Is there a reason that tests aren't written inline with the code that they test?