dotnetomaniak.pl

Strona głównaSztuka programowania

Recently, I had quite an interesting discussion about var keyword in C#. Basically, my interlocutor tried to convince me that using var we drastically reduce code readability, so we should only use that together with anonymous types. He also mentioned performance and that some operations cannot be done using implicit typing. Well, if you’ve been reading my blog for some time, you’ve probably spotted that I’m a big fan of vars, and I put them every time it’s possible. B...

Źródło: foreverframe.net
Dziel się z innymi:
To var or not to var? - Forever F[r]ame
Szkolenia SecurITum

marzec

09.
Wroc#
Wrocław
12.
13.
Dodaj nowe Zobacz wszystkie

Najaktywniejsi

1

macko (32 816,53)

2

Paweł Łukasik (32 714,55)

3

pzielinski (27 178,29)

4

gordon_shumway (21 178,87)

5

paduda (20 336,33)

6

psz750 (13 018,14)

7

rroszczyk (10 388,92)

8

Damian (9 388,12)

9

danielplawgo (7 235,99)

10

arek (6 807,95)

11

burczu (6 214,22)

12

PaSkol (5 393,84)

13

lukaszgasior (4 097,38)

14

jj09 (3 778,06)

15

spetz (3 418,34)

16

jedmac (3 318,39)

17

dpawlukiewicz (3 282,49)

18

http://jakub-flor... (3 224,66)

19

AdrianBystrek (2 990,73)

20

CaMeL (2 954,87)