
Life of a Programmer
`Simplicity is prerequisite for reliability.’ - EWD
As a long-time Linux programmer, I barely got a laughter from my wife, when offered a few praises to the productivity of C#. It is interesting - we are apt to believe that what we’ve already known are the best, even we don’t have any convincing evidence. We are pretty much biased.
I do like the feature Language-Integrated Query, aka. LINQ, introduced since .Net 3.5. And here is a show case.
It happens to be one decade since my last visit to WuXi, Jiangsu province. It was a spring outing, and we were in sophomore (or junior) and I still remember that we watched repeatedly, , almost 6 times,Forrest Gump on the bus, during the long travel.
I planed to take my wife and son to the Yuantouzhu Park, because the sakura there are beautiful, and I was impressed by the Taihu Lake.
Tonight my wife signed a contract to buy an apartment, so that our son can attend a better school. Still, I do not buy in the reason, because I believe that the best education comes from the family, the role model we would build up for, and the belief we would pass to, our son.
I was irritated (although remained calm and silence), when one day, my wife asked, “Do you love our son?
I have been writing WebApi with OData v4 these days. While it is really fast, and convenient, I experienced a few pitfalls which costs me several hours.
URL Sensitivity 🔗The path segment etc. are case sensitive by default. Thus, you would probably receive an HTTP 404 when GET ~/api/customers instead of~/api/Customers.
String Parameter Issue 🔗Assuming that I have a bound function GetCustomerX for the entity type Customer, and it is indexed with a string identifier.
I had some frustration these days. Two programming issues consumed more than three work days.
The first one is related with DLL versions. One of my VS 2012 project is created by VS 2013, but unfortunately they have different SDK versions. And, what is worse - our production code does not useNuGet to resolve dependencies. They are done manually. It is a huge pain for VS novices like me.
The second, comes from theUnity.