Reputation
1,216
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 13 20
Impact
~35k people reached

  • 0 posts edited
  • 7 helpful flags
  • 139 votes cast
May
9
awarded  Great Question
May
5
awarded  Favorite Question
May
5
comment Should we define types for everything?
You are correct, I haven't thought about it like that. But the command pattern isn't a 100% good fit because the logic of the operation is encapsulated in another class and I can't put it inside the object that is the Command. It would be wtf-y to call this class a command and then not have the logic inside it.
May
4
awarded  Notable Question
May
4
awarded  Yearling
May
4
comment How to represent a Rubik's Cube in a data structure
This data model is more true to reality but it makes some of the simple operations that you would like to do harder than they should be - Just getting the state of the cube would require traveling recursively through lists of cubes which is cumbersome.
May
4
awarded  Good Question
May
4
awarded  Popular Question
May
4
comment Should we define types for everything?
@Paul, this is exactly where my question comes from. In Haskell I'd easily create a file with 20 types that encapsulate all the primitive types. But C#/Java/OOP trend of the week all have overhead of creating these things. You could avoid some of it by using structs where appropriate and most of the time you don't really care for performance issues (compilers are dead[1][cr.yp.to/talks/2015.04.16/slides-djb-20150416-a4.pdf]). The performance issue I'm seeing is human in having to create all these types and maintain them, as called on by MainMa.
May
4
awarded  Nice Question
May
3
asked Should we define types for everything?
May
2
awarded  Notable Question
Feb
2
awarded  Notable Question
Dec
20
asked Where did the three tenets of OOP originate
Nov
24
awarded  Yearling
Sep
6
comment How does one learn QA?
Edited the question to not be about a learning resource. What I meant by the first sentence isn't what book should I read but what is the way to approach the problem.
Sep
6
revised How does one learn QA?
Edited the question so it doesn't sound like I'm asking for a resource.
Sep
6
asked How does one learn QA?
Jun
26
awarded  Notable Question
Jan
31
comment Do Scrum sprints mean to work at the fastest pace possible?
Sounds like a classic pointy haired boss - dilbert.com/strips/comic/2007-11-26