1,296 reputation
612
bio website
location Farmington, NY
age
visits member for 2 years, 6 months
seen yesterday

I am a software technical lead for a team whose goal is to define and drive forward common framework/architecture for various products.

Most of my experience is in back end software for real-time (both hard and soft) distributed systems written on various platforms in various languages. Lately I have been doing a lot of this in C++ and C#.

I am passionate about solving problems and delivering software, and I enjoy learning how different languages and tools can enable and improve my efforts. These things mean I often find myself elbow-deep in source-control, and build and deployment infrastructure.


Apr
28
comment How to migrate my thinking from C++ to C#
It is one of my pet peeves when someone says "The right tool for the right job - choose a language based on what you're going to need." For large programs in general-purpose languages, this is a useless, unhelpful statement. That said, the thing that C++ is better at than almost any other language is deterministic resource management. Is deterministic resource management a primary feature of your program, or something you're used to? If it's not an important user feature, you may be overly focused on that.
Nov
5
comment Is wrapping a third party code the only solution to unit test its consumers?
"Anything not written by you" is a bit much. Libraries that are part of the standard or platform are difficult to wrap. You probably wouldn't want to wrap all of the .NET components, for example. If the wrappers are just pass through interfaces, or are generated code, I have found little benefit to writing tests. If there is logic in there (combining calls, etc.) tests can be helpful.
Nov
3
comment What triggered the popularity of lambda functions in modern mainstream programming languages?
You're right, I didn't look carefully enough. I edited my remark.
Nov
3
comment How can I improve my application's memory use?
I have used and been happy with redgate products. They provide the ANTS Memory profiler
Nov
2
comment Exception Handling Frequency/Log Detail
In my experience the most valuable things in the log are the stack trace, exception type, and error message (should the exception thrower be so kind as to provide that). The next nicest thing to have would be the parameter values that the current method received. In many domains logging that data is a no-no ("Employee: Rob Robson, Salary: $10,000" can annoy people). It helps to have nice, short methods that you can trace through. (Edit: The stack trace tells you where the error is thrown, so you can catch at a high level and still have fine grained information about error source)
Nov
2
comment Why do old programming languages continue to be revised?
Oh, they are incredibly useful. Don't get me wrong. They're the most important addition in C++ (IMO). I think I was not clear about what I meant there. One usually chooses C++ to have direct access to memory, deterministic performance, and high optimization potential. That doesn't change with the recent additions. We simplify many of the other programming tasks around why you chose C++, but C++ is still valid and useful for the same reasons. Scheme is updated with regularity, but the code-as-data and lispy-ness doesn't change, so you choose scheme for the same reasons today as 20 years ago.
Oct
31
comment Is conditional return type ever a good idea?
That is true for Objective-C. I tried to generalize to other languages a bit since the issue comes up in multiple languages. e.g., Ruby or C++
Oct
31
comment I need some help creating a non-binary tree (or some other data structure that will better solve my problem)
Have you considered a set?
Oct
31
comment Equal Gifts Algorithm Problem
Create an array of lists - pricePoints[priceRange] (don't forget to add one if zero is a legal price) for(book in collection) { pricePoints[book.price].add(book) }
Oct
31
comment Equal Gifts Algorithm Problem
@Karl - thanks! I think I noticed that at the same time and updated. I shouldn't write algorithms before my coffee. :)
Oct
31
comment Equal Gifts Algorithm Problem
@maple_shaft Yeah, that would be simpler and have the same result. Thanks.
Oct
31
comment Should static parameters in an API be part of each method?
Whoops. I guess I misunderstood. :) Sorry about that.
Oct
31
comment Equal Gifts Algorithm Problem
Oh - forgot to add that sorting can be O(n) because you know the value range, so you needn't use a general purpose sort.