Reputation
2,113
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
1 10 21
Newest
 Yearling
Impact
~226k people reached

  • 0 posts edited
  • 1 helpful flag
  • 138 votes cast
Sep
24
awarded  Autobiographer
Sep
21
comment Is my work on a developer test being taken advantage of?
You're being taken for a ride. Even if they do offer a job I doubt it's going to be one you really want. Drop them and make it very clear why.
Sep
11
awarded  Necromancer
Jun
23
awarded  Yearling
Jun
23
comment Do objects maintain identity under all non-cloning conditions in PHP?
@RPM That hasn't been true since PHP 5.0.0. Class instances are always passed by reference (with some caveats, php.net//manual/en/language.oop5.references.php)
May
24
answered How much freedom should a programmer have in choosing a language and framework?
Apr
22
comment Why is Global State so Evil?
@Navin assuming that one was implemented in the first place. If state is global than all bets are off.
Apr
6
awarded  Popular Question
Mar
29
awarded  Good Question
Mar
1
comment Using a single table for identity and metadata
@BartvanIngenSchenau Am still in the early design stages and am just playing with ideas so hadn't thought of that. I guess I'd need a column in the business object table to indicate the class of the object being queried.
Mar
1
asked Using a single table for identity and metadata
Oct
6
comment Writing my problem solving approach on paper?
Whoever told you that real programmers don't use paper is dead wrong. Most programmers worth their salt will try to get a feel for any non-trival problem and its solution before writing any code, whether it's a formal method like UML or just a rough sketch. The kind of programmer that just tears into writing code without any kind of planning is the kind who writes pretty crappy code. I expect it's just cos you're new to it and your definition of "non-trivial" is still pretty broad.
Aug
16
comment Which programming languages are multi-platform, fast, and object-oriented with non-limiting low-level os access?
One big caveat with Java though, it's very difficult to give GUI apps a native "look and feel" because Swing is the default GUI library. While Swing does try to emulate the look and feel of the host OS, Swing never looks or behaves quite right. I've not tried it but I'm told SWT gives better results. On the plus side, porting your program's core logic to Android should be pretty easy (though you will have to redesign its GUIs)
Jul
30
awarded  Popular Question
Jun
23
awarded  Yearling
May
28
comment What are the alternatives to “overriding a method” when using composition instead of inheritance?
@AmoghTalpallikar Chances are that if a person can have multiple roles, then there will probably be a requirement to acquire or lose roles during the course of the person's existence in the system. As classes are in theory immutable (a thing, once created as a particular class shouldn't be able to change its class during its lifetime), composing roles in is almost certainly the correct choice.
May
7
awarded  Good Answer
Apr
27
comment Recursion or while loops
One thing you forgot to mention, iterative code tends to perform better when you're dealing with a single thread of execution, but recursive algorithms tend to lend themselves to being executed in multiple threads.
Apr
26
awarded  Quorum
Apr
7
comment How important is it to reduce the number of lines in code?
Comments are comments. They're not code. Therefore they don't apply to LOC counts. While self-documenting code is better than well-commented code, removing comments from code that's less obvious isn't helpful to anybody.