3,104 reputation
11529
bio website google.com/profiles/Daenyth
location Boston, MA
age 26
visits member for 4 years
seen 1 hour ago

Professional computer nerd


Sep
14
awarded  Yearling
Sep
4
comment Why are the <b> and <i> tags deprecated?
The overhead matters a little for mobile browsers on slower networks
Sep
3
comment Why is (f . l) not allowed and equal to (apply f l)?
You should edit the question to make it more clear rather than reply to the comment
Aug
29
answered Does ASCII have a header or footer or anything similar?
Aug
29
comment Separate methods or single method with if statement?
There's one VERY strong reason to use a single method (it might not apply in this case, but I had this happen in a java/GWT app). If the class holding the button handler is constructed anonymously, you will create a new instance for each thing generating events, which if they are done in high numbers or in a loop (table row entries perhaps), consume lots of memory and runtime. Using one method means one object instance. Harder to maintain but the performance is orders of magnitude better (in the case I hit)
Aug
27
comment Is it a good practice to declare instance variables as None in a class in Python?
I should have elaborated that it can cause an error if used incorrectly.
Aug
27
answered Is it a good practice to declare instance variables as None in a class in Python?
Aug
27
comment Making internal search engine return results that adhere to local permissions on an internal web application
I'm not familiar with your technologies but 7 queries is a lot. Can you change a where x = to where x in and do them all in one query?
Aug
22
comment Am I violating LSP if the condition can be checked?
Instead of having a canResize method that could be skipped or implemented incorrectly, have an interface Resizable that provides setSizeOfShape and when needed, classes can accept a Resizable instead of a Shape, or perhaps they can accept a ResizableShape (class ResizableShape implements Shape, Resizable). This takes the burden of doing the right thing away from the programmer and instead lets the compiler enforce correct behavior.
Aug
21
accepted Is it good practice to use NoStackTrace in scala?
Aug
20
asked Is it good practice to use NoStackTrace in scala?
Aug
20
comment Version hash to solve Event Sourcing problems
Vector clocks might be useful here.
Aug
14
comment Dealing with data, when your database is under version control
What language is your project in? Several languages/frameworks have premade solutions for schema management
Aug
12
comment What is your approach to debugging a transient problem
The related tab has lots of additional info here
Aug
11
answered Java: method takes varargs of unrelated types
Aug
1
comment Notation/Meta Language To Express An Algorithm
Completely disregarding the meta language, I'd approach this in a slightly TDD way. You've got some excellent expected input/output states there which could be codified into tests that would serve as some runnable documentation
Jul
31
awarded  Good Answer
Jul
30
comment Customer is “deeply disappointed” in software because of one bug. How to reply?
I'm not entirely convinced this is specific to software developers. Many business have clients that could express disproportionate responses to small mistakes in your deliverables. Maybe this would fit on the Workplace se?
Jul
30
comment Should the commit history be used to convey critical information to developers?
I removed my -1 since this now suggests the wiki rather than the email. I think it could be structured better to emphasize that the main point is to put it in the wiki, but at least it mentions it now
Jul
30
revised Should the commit history be used to convey critical information to developers?
added 674 characters in body