SlurrerOfSpeech
- 141
- 11
Anyone else experience extreme cognitive dissonance when learning modern programming languages? If so, have you visited a pschyiatrist about it?
1) Automatic type deduction. The idea that I can be too lazy to figure out the exact type returned from a function, and put var or auto in its place, feels wrong, like committing a crime.
2) Lambas. I'm used to hours spent going, "Ok, great, I could use a function here, so I'll go to my namespace Helpers and implement and name the function inside there." There is something unnerving about the idea that I can write unnamed functions on-the-fly. There has to be a catch ...
1) Automatic type deduction. The idea that I can be too lazy to figure out the exact type returned from a function, and put var or auto in its place, feels wrong, like committing a crime.
2) Lambas. I'm used to hours spent going, "Ok, great, I could use a function here, so I'll go to my namespace Helpers and implement and name the function inside there." There is something unnerving about the idea that I can write unnamed functions on-the-fly. There has to be a catch ...
, that is VERY expensive). it is also relative: we use Matlab to control and analyse data from a measurement system that is worth about £2M or so. Compared to that the cost of a Matlab license is insignificant, and using it means us being more efficient than using e.g. Labview and/or Python .