Reputation
1,316
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 6 11
Newest
 Yearling
Impact
~39k people reached

  • 0 posts edited
  • 2 helpful flags
  • 165 votes cast
Oct
25
comment Git Repositories updated
git submodule might be what you're looking for, you have one public repository reference your private repository as a submodule.
Oct
25
comment In Scrum, should developers talk directly to customers (bypassing the PO)?
I have to agree with you that the owner should be the sole point of contact between development and customer. I disagree that making the product owner unnecessary is the reason, or that it's faster to bypass the role. I'll put it this way: on a project with 10 developers you do not want 10 people constantly talking to the customer and negotiating features. First, it annoys the customer, second it takes time away from actually developing. If you get blocked on all tasks because you need more information then you need to fix the requirements capture phase and not try to fix ownership.
Oct
13
comment Is it better to document functions in the header file or the source file?
For library headers where there is no source available maybe add pre and post conditions, etc... to help with testing. Plus add O(n) performance if it makes sense, so library users can choose wisely.
Oct
5
comment How to integrate static analysis tools in a running project
Run the analysis. Save off all the warnings, in a db or custom file maybe. Run the analysis on "new code" and only show warnings that don't match the saved warnings. Start wiping out the saved warnings so they show up in the analysis output?
Oct
3
answered UX designers working one Sprint ahead
Jun
24
awarded  Yearling
Sep
29
comment Why do most programming languages have special keyword or syntax for declaring functions?
C has function pointers which, at least slightly, can be regarded as just another value. A dangerous value to mess with to be sure, but stranger things have happened.
Sep
24
awarded  Autobiographer
Jul
28
awarded  Citizen Patrol
Jul
27
comment What is the best practice for designing a system supporting many languages, 1 central dictionary for all languages or seperated dictionary?
I have to agree there with the storage and retrieval. All the multi-language pieces I've worked on work in whole phrases, and those are referred to by some identifier. Whenever the current language changes, a full set of strings is loaded for that language. The runtime (always a GUI for me) simply says something like "use phrase #12 here" and it pulls the entire string.
Jun
24
awarded  Yearling
Jun
11
comment Is the Entity Component System architecture object oriented by definition?
More traction especially since the whole point of components was to get away from intractable OOP hierarchies, good description of the benefit.
Jun
8
comment Correct process for creating builds reliant on 3rd party packages
We agree, I see your perspective in that light now! Yes, we're approaching his unquoted source of "proper programming practices" error from different sides =) OP, please cite where you picked up this proper practice from, no one does it that way because of everything Michael says here. I know that in my past practice, pulling an external update was a major effort and we locked down everyone's submissions while while merging and regression testing before opening the floodgates again. This was done very infrequently. Internally held versions were pulled on every automated build.
Jun
8
comment Correct process for creating builds reliant on 3rd party packages
The base point of something in the repo breaking your local build is backwards, the only thing that matters is that your local build doesn't break anything in the repo. The repo is what everyone gets, what releases are built from, and what your check-ins are tested against. If something is broken it's far better to catch it locally before you update the repo with changes that magically "well it worked on the programmer's machine" but break everyone else that tries to use it.
Jun
8
comment Correct process for creating builds reliant on 3rd party packages
Pulling fresh copies from the chain is common in automated build systems. The problem is not the pulling at build time, but not properly versioning upstream components of the build. If main package version 1.01 requires library 3.14 then pull from the 3.14 set and not a generic "library whatever, it has the same name" set =)
Jun
1
comment How to avoid oscillation by async event based systems?
Just this week I cut out instances of your #1 happening in my remote control app, and I solved it just like you describe. The "trick" I used was to have internal maintenance signals for local state maintenance and external for control inputs. Keeping this arms-length gap stops the feedback loops from forming.
May
15
comment How to find out if a tile is being covered by a polygon?
Shrink wrap it, perhaps a modified cs.sfu.ca/~haoz/teaching/projects/cmpt469/0501/shrink_wrap/… that pays attention to the grid size you've chosen?
Dec
28
comment Usefulness of “milestones” in agile development
+1 It's all about the customer. Sometimes the customer is your own marketing department, other teams like ops that need to support your code.
Dec
28
answered Usefulness of “milestones” in agile development
Oct
9
answered Should integer divide by zero halt execution?