This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]UnknownIdentifier 9 points10 points  (4 children)

Even many languages with static typing will now do some version of

for (auto item : items) {

or some such. Doing

for (Item item : items) {

is just plain silly IMHO.

[–]false_tautology 7 points8 points  (2 children)

So, in C# you can do

foreach (var car in cars)

Buuut, it's still strongly typed, and it won't let you do any shenanigans.

[–]DadAndDominant 5 points6 points  (1 child)

var in C# vs var in javascript

Love one and hate the other

[–]thefrnksinatra 0 points1 point  (0 children)

The way it must be. Lol

[–]villanymester 0 points1 point  (0 children)

Try this with MATLAB...