Thursday, December 10, 2009

"var" ought to stay in Javacript and Pascal

Strongly typed language is an evolution step forward. Ok, in reality, there is only ONE type: bits and bytes. See, it is abstraction that makes programming easier. In there beginning there are number type, then string type aand of course now structs and all sorts of classes that built upon strong types.

Perhaps a decade ago there is COM in Microsoft thing and all these variant types, types are no longer so explicit. Yuck.

Look at this thing in C#. The implicit variable declaration var. C# stole this from javascript! Look, javascript is a script, intended just to add some power to plain o HTML. It is ok to have weaker types there.

"var" is of course the variable declaration section of Pascal. VB stole so many things from Pascal.
For example, Dim i as integer looks just like var i: integer?

I see 0 advantage of the "var".

C# has even more fun construct: the lambda.

3 comments:

Anonymous said...

Keep posting stuff like this i really like it.

Anonymous said...

Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!

Anonymous said...

[url=http://seghan.ru/go.php?sid=35][img]http://s001.radikal.ru/i194/1001/f2/3b8e742581a0.jpg[/img][/url]












[url=http://mlwqdwu.xn--baldmglichst-8ib.de/sitemap.html]buy cigarettes on ebay [/url]
buying cigarettes on the internet buy discount cigarettes online buy cheap cigarettes in uk
[url=http://wcsoius.biz.co.nl/]springwater vanilla cigarettes online order [/url]
order cigarettes on internet buy cigaretts buy fake cigarette
[url=http://mlwqdwu.xn--baldmglichst-8ib.de/sitemap.html]electronic cigarette order [/url]
red apple cigarettes buy buy cigarettes under buy discount cigarette online
[url=http://mlwqdwu.xn--baldmglichst-8ib.de/sitemap.html]cigarettes online buying wisconsin monthly payments [/url]
buy cigarette holders in buy fiesta cigarettes where can i buy marker menthol 100 cigarettes in ga.
[url=http://tioozua.connection24.de/]buying cigarettes online faq [/url]
buy empty cigarette packs on line order cigarettes from mexico buy cartons cigarettes
[url=http://wcsoius.biz.co.nl/]cigarette holder cary nc buy purchase [/url]
to buy cheap cigarette age to buy cigarettes quebec buy cigarette holders
[url=http://powjxun.wieder-mal.de/sitemap.html]buy players menthol 100 cigarette [/url]
buy cigarettes in south buy tobacco on internet cigarettes buy cheyenne cigarettes
[url=http://mlwqdwu.xn--baldmglichst-8ib.de/]order discount cigarettes [/url]
buy cheap cigarette line where to buy cambridge cigarettes buy cigarettes online paypal
[url=http://deuaexj.naheliegend.de/sitemap.html]buy geronimo cigarettes [/url]
buying cigarettes from abroad cigarettes money orders buy cigarettes in mexico
[url=http://cauvzah.weinend.de/]buy vantage cigarette online [/url]
buy cigarettes california buy cigarettes in nh order cartons of cigarettes