944 reputation
1714
bio website
location Germany
age 25
visits member for 3 years, 10 months
seen 7 hours ago

Passionate Programmer.

Favored Languages: Kotlin, CoffeeScript, F#

Frameworks of Choice: Dropwizard, LoomSDK


Jul
2
awarded  Curious
Jun
17
answered How to minimize typos when you code?
Jun
2
comment How to Detect Sprites in a SpriteSheet?
@ForkandBeard thanks for the update! I've added my own solution as an answer below. Why not do the same so I can give you the upvote you deserve?
Jun
2
answered How to Detect Sprites in a SpriteSheet?
Apr
16
awarded  Mortarboard
Apr
13
comment Types of unit tests based on usefulness
@Craig: Precisely! This is what I meant with not knowing how to write proper tests. As a college student, the tax collector was one large class written without proper understanding of SOLID. You are absolutely correct thinking that this is more of an integration test than anything else, but that was an unknown term for us. We were only exposed to "unit" tests by our professor.
Apr
13
awarded  Nice Answer
Apr
13
awarded  Yearling
Apr
7
comment MVC in a desktop application - can the View ever hold a reference to the Model?
@Prog: Yes, the View can query the Model in MVC, but it is up to the implementer whether or not they would like to allow it. You can just as easily disallow or it abstract it as I did with my AS3 application. Your other points are pretty spot on for my understanding, but I'm hoping that another soul will answer so you have something to compare my answer to :)
Apr
7
comment MVC in a desktop application - can the View ever hold a reference to the Model?
@Prog: MVC and MVP are two types of software-patterns, but there are more out there. Andy already mentioned that MVVM exists, which is a generalization of MVP, and there are others depending on the context. Check out RMR (Resource Method Representation) for the web and I believe Rails uses an even different architectural style.
Apr
7
answered Types of unit tests based on usefulness
Apr
6
comment My UML class diagram is too complicated, what should I do?
You are describing a scenario of high coupling and low cohesion. However, without seeing the diagram or a prototypical example of your codebase, it's hard to give any kind of advice. Is it possible to share the UML diagram, albeit with different names if that's a concern?
Apr
6
answered MVC in a desktop application - can the View ever hold a reference to the Model?
Apr
6
comment MVC in a desktop application - can the View ever hold a reference to the Model?
One thing I learned from High School was that questions using absolutes were often 'false'. So that saying something along the lines of "A View may never hold a reference to a model' will usually be wrong to a certain extent. Therefore, I'm pretty sure a real answer will read, "You shouldn't ever do this, but I can think of a situation where it makes a little sense."
Apr
5
answered What are the advantages of recursion compared to iteration?
Feb
26
revised How to Detect Sprites in a SpriteSheet?
deleted 4 characters in body
Feb
26
asked How to Detect Sprites in a SpriteSheet?
Feb
12
comment Code Duplication in Multi-Module Project
@user61852: They are projects.
Feb
12
comment Code Duplication in Multi-Module Project
@Jeffo: It sounds more complicated than it is. Image reading, writing, scaling. I used the ImageIO Library and created some wrappers for it. It does not deserver its own module imo.
Feb
12
accepted How to Track File Uploads and Return Upload Status with REST?