6,485 reputation
1641
bio website
location Los Angeles, CA
age
visits member for 4 years, 3 months
seen 4 hours ago

I love strange shrimp.

eh, string stream.


Jan
14
revised Why are cryptic short identifiers still so common in low-level programming?
added 553 characters in body
Jan
14
revised Why are cryptic short identifiers still so common in low-level programming?
added 553 characters in body
Jan
14
answered Why are cryptic short identifiers still so common in low-level programming?
Jan
13
comment Javascript and proprietary algorithms
Is there a way to keep the algorithm on the server side? Even a partial split of algorithm steps between client and server will be sufficient to thwart reverse engineering. (On the other hand, don't underestimate the creativity of the world - it is not that difficult for another inventor to independently arrive at the same algorithm.)
Jan
11
comment Effectiveness of FizzBuzz and Beyond
@KirkBroadhurst: one aspect of the test is to find out whether the prospective developer detect the "potential risk of ambiguity", and raise question. In my opinion, the majority of candidates who completed the question without asking anything, might stumble when they start working with real business requirements that could only be even more vague than this test. (Note: some software companies divorce the responsibility of asking questions from the developers, and gave it to QA.)
Jan
7
answered Is a coder that 'quality checks' bug fixes and bugs raised by testers a recognised role?
Jan
1
comment Why is using classic for loops as iterators in stl considered bad?
For improved clarity, perhaps you can mention linked list and associative containers (set, map) as examples.
Jan
1
comment Constructing a Deterministic Finite State Automaton for a given Regex
In the second diagram (the correct DFA), what notation is used to indicate that the dot "." path (from 3 to 4) can only be taken once?
Jan
1
comment Why aren't there Dimension and Point interfaces?
And what about Points that have floating point values? (Indeed, OpenCV has a generic Point class that can be specialized for all dimensions and value types.)
Dec
25
comment Does low latency code sometimes have to be “ugly”?
Data-oriented design (see this and this) is an example where both the code and the data structure are organized under a different paradigm to achieve higher speed. People familiar with the paradigm will swear by it, while people who don't know it swear about it.
Dec
24
comment What tools or techniques are useful for describing an unfamiliar codebase?
@DrewDormann I learned this technique from one of my colleagues when faced with 100s of classes that were not grouped. It is a very first step toward "sorting" the project files, before any refactoring happens. In other words, it is used when everything is still a mess. (Embarassingly, the mess was written by my earlier self.) By sorting the project files into namespaces, it facilitates Doxygen class page generation (by displaying namespace trees) and also speeds up the programmer's comprehension.
Dec
23
answered What tools or techniques are useful for describing an unfamiliar codebase?
Dec
22
comment Network computation
Stream processor?
Dec
20
comment Term for a single C++ endpoint/object file
compilation unit?
Dec
20
comment Does low latency code sometimes have to be “ugly”?
I'd like to suggest two changes: (1) There are places where speed is needed. In those places, I think it is more worthwhile to make the interface easy to understand, than to make the implementation easy to understand, because the latter may be a lot more difficult. (2) "Code that performs miserably rarely ever does so ...", which I would like to rephrase as "A strong emphasis on code elegance and simplicity is rarely the cause of miserable performance. The former is even more important if frequent changes are anticipated, ..."
Dec
19
comment Should developers be responsible for tests other than unit tests, if so which ones are the most common?
A good criteria is how automatable the tests are. Programmers are good at automating things with code.
Dec
19
revised Does low latency code sometimes have to be “ugly”?
added 2221 characters in body
Dec
19
revised Does low latency code sometimes have to be “ugly”?
added 2221 characters in body
Dec
19
revised Does low latency code sometimes have to be “ugly”?
added 2221 characters in body
Dec
19
answered Does low latency code sometimes have to be “ugly”?