8,086 reputation
1845
bio website
location Los Angeles, CA
age
visits member for 4 years, 8 months
seen 9 mins ago

The traditional notion of object ownership via function call (i.e. where it is unconditionally and unquestionably assumed that the caller must own the object throughout the call, and the callee merely "borrows" from it) is detrimental to memory usage if the object passed via the call needs to be released early, in the middle of the call.

In the past, I may have blamed it on other things, but now I see it this way. And this faulty dogma is pandemic; I can't think of any language that escapes from it.


Jul
2
comment Why is the finalize method included in Java?
The quoted Style Guide might work in a non-JNI environment or when Java processes can be killed and respawned with ease (in the case of distributed high-redundancy high-availability systems, as is Google). A more nuanced guide is, whenever one wants to use finalize, (1) provide an explicit cleanup method such as close() or destroy(), and then (2) realize that finalize is ineffective for cleanup work that involves Java calls (as other dependent objects may have already been destroyed, resulted in invalid state), and (3) only implement it if not doing so could cause a failure elsewhere.
Jul
2
comment What does “ (int) value & 0x1, (int) value & 0x2, (int) value & 0x4, (int) value & 0x8 means”
For better understanding, similar code that has been ported to C# will use the Enum.HasFlag method to test for bits. See: Enum.HasFlag.
Jul
1
awarded  Enlightened
Jul
1
comment How to allow innovation in an Agile Methodology
A question on Project Managements Beta already covers the same grounds: What are the pros and cons of incorporating a project manager into a research team?
Jul
1
revised How to allow innovation in an Agile Methodology
added link to PM.SE-Q7892
Jun
30
comment In Java, why use bit hacks when non-bitwise technique it is more readable?
Let us continue this discussion in chat.
Jun
30
comment How to allow innovation in an Agile Methodology
Agile was originally a manifesto about software development; it has been grown (or mutated) to address a wide variety of doing business. Meetings are a form of face-to-face communication, even though it would have been less effective than one-to-one communication because of politics and personal style.
Jun
30
comment How to allow innovation in an Agile Methodology
@BrentArias: The linked article for "novelty" is certainly a tongue-in-cheek article (written for humor), used to bring out a point (it is easier to sell Agile to a adrenaline-rushed project). Please consider carefully if you still wish to base your question on this article.
Jun
30
revised How to allow innovation in an Agile Methodology
Pointing solo development to question 80751, developer who want to own large chunks
Jun
30
comment How to allow innovation in an Agile Methodology
Let us continue this discussion in chat.
Jun
30
revised How to allow innovation in an Agile Methodology
Added the final question and answer, possibility of technology acquisition over inhouse research.
Jun
30
revised How to allow innovation in an Agile Methodology
Edited "gold card" summary to remove superfluous personal interpretation and to emphasize team.
Jun
30
revised How to allow innovation in an Agile Methodology
non-incremental, "make a point" projects in item 6 correlate with item 9, cowboy coding.
Jun
30
revised How to allow innovation in an Agile Methodology
added 9, where cowboy coding is appropriate.
Jun
30
revised How to allow innovation in an Agile Methodology
typo
Jun
30
revised How to allow innovation in an Agile Methodology
Added "gold card days" article link. Disambiguate title question vs substantial question.
Jun
30
revised How to allow innovation in an Agile Methodology
disclaimer not a scrumbutt checklist
Jun
30
revised How to allow innovation in an Agile Methodology
added 7. silo vs cross-functional, 8. difficulties with some agile practices aka time boxing and estimates
Jun
30
comment How should one implement the dependency-injection for a geocoding client that aggregates different coordinate provider implementations?
Another aspect to consider is the asynchronous and time-consuming nature of the request. If requests are made simultaneously to multiple geocoding services, then their responses will usually arrive at different times. Will these responses be immediately made available to the application code (GUI), or will they be batched together until timeout?
Jun
30
comment How should one implement the dependency-injection for a geocoding client that aggregates different coordinate provider implementations?
Suggested rephrase: How should one implement the interfaces and dependency-injection for a geocoding client, which aggregates from various service providers (implementations) and supports interactive disambiguation with the human user among other geocoding use-cases?