Optional parameters can be a good thing when considering their example. I remember automating some work in excel from c#. I'm stealing this example from
here :
The new version could be a one-liner if i wanted it to be. I find the second version much easier to read, and you get to be explicit about your parameters. Intellisense was a lifesaver, I agree, but I do see the benefit of the new feature compared to just
letting intellisense take over.
I was thinking during that video how depressing it was that my job will never be as cool as his. I felt like at the end you just wanted to stick it to me .
Where is the end of the video? (maybe he needed another mt dew).
With mention of functional stuff in c++ and boost in this video, I was recently encouraged to check out FC++. I'm sure many of you have ran across this already, but it seems on topic for those of you who haven't.
http://www.cc.gatech.edu/~yannis/fc++/boostpaper/fcpp.html
No More Underscores in Visual Basic 10
Mar 30, 2009 at 8:28 AMInside C# 4.0: dynamic typing, optional parameters, covariance and contravariance
Oct 31, 2008 at 4:57 PM[[ becomes ]]
The new version could be a one-liner if i wanted it to be. I find the second version much easier to read, and you get to be explicit about your parameters. Intellisense was a lifesaver, I agree, but I do see the benefit of the new feature compared to just letting intellisense take over.
Russell Hadley: The Route to C++ Code Optimization
May 20, 2008 at 9:12 PMStephan T. Lavavej: Digging into C++ Technical Report 1 (TR1)
Feb 25, 2008 at 4:39 PMWith mention of functional stuff in c++ and boost in this video, I was recently encouraged to check out FC++. I'm sure many of you have ran across this already, but it seems on topic for those of you who haven't. http://www.cc.gatech.edu/~yannis/fc++/boostpaper/fcpp.html