Blog Stats
  • Posts - 55
  • Articles - 0
  • Comments - 1229
  • Trackbacks - 282

 

Verbose Basic .NET: Busted!

Ho scritto fiumi di codice in VB6. Quando è stata l'ora del passaggio a .NET, altro mondo: ma quale linguaggio usare? VB.NET o C#? C# è cool e VB.NET era la naturale scelta.

Dopo aver letto l'instant book di Daniel Appleman ho capito che vb.net era più produttivo, ma più "verbose". Oggi trovo faticoso sviluppare in vb.net, per una più difficile lettura del codice e perchè fare "switching" tra un linguaggio e l'altro distoglie la concentrazione (differenti modi di fare le stesse cose).

Dopo oramai 5 anni, mi son ricordato di quella scelta da un articolo del mitico Jeff Atwood di Coding Horror, sui configuration section handlers, dove è presentato il codice d'esempio compresso in zip sia in vb.net (10Kb) che in c# (5kb). Com'è possibile che sia il doppio? La compressione Zip comunque riduce le ridondanze del linguaggio (If End if, ad esempio). In realtà le linee di codice vb.net sono addirittura minori (di poco) di quelle C#, ma:

VB.NET has something called a root namespace, which is different from the C# default namespace. Whenever a root namespace is defined (in project properties) it's added behind your back.

Ecco spiegato. E sfatato il mito, sempre che usiate lo stile di programmazione di Jeff Atwood, che si produca più codice.

Io continuerò a "switchare" da un linguaggio e l'altro, ma scelgo C# come primo linguaggio. :-P


Feedback

# re: Verbose Basic .NET: Busted!

Gravatar Una semplice precisazione:
La differenza sta nel fatto che nel .zio di VB sono inclusi anche dei files che non servono al progetto (ad esempio .resX) probabilmente frutto di varie evoluzioni del progetto, se confrontiamo i soli files essenziali la dimensione dello zip e' esattamente la stessa.
17/08/2006 16:57 | Corrado Cavalli

# re: Verbose Basic .NET: Busted!

Gravatar When you buy essays, you have to be acknowledgeable of fraud academic writing corporations. 12/01/2012 06:33 | essay writing service

# re: Verbose Basic .NET: Busted!

Gravatar Utilizing academic papers writing corporations you provide your professional success. Moreover, that is simpler to buy a essay. Following the privacy system of custom writing, your confidential information will not be uncover. 01/05/2012 10:13 | write my essay

# re: Verbose Basic .NET: Busted!

Gravatar Custom essays helped me counsel all my essay from beginning to end. I didn't have to disuse a single second searching the colleges' own applications for the hidden essays inquests, and I nevermore had to distress if I was overlooking some custom essays for one of the especial programs I was applying to. What would have taken days took fewer than few minutes with essays online. 04/05/2012 05:18 | writing services

# re: Verbose Basic .NET: Busted!

Gravatar It is really intelligent option to order the essay writing topics about this good post to know really more interesting outcome about why us primewritings.com. 02/06/2012 02:18 | make an order

# re: Verbose Basic .NET: Busted!

Gravatar All goods have got their own services. Therefore, you have a possibility to buy custom essay (primewritings.com) at the custom writing services. Such kinds of organizations suppose to be available in the web! 15/07/2012 11:00 | original custom term paper

# re: Verbose Basic .NET: Busted!

Gravatar Various men opine that supposes to be unsafe to buy research paper online (topwritingservice.com). Nevertheless, I know that writing companies provide premium quality only, because their reputation relies on that. 21/07/2012 06:38 | paper services

# re: Verbose Basic .NET: Busted!

Gravatar The smashing information connected with this good topic completing should be a good enough business for an experienced writer as you are. The writers at the thesis service write the thesis topics really easily and you can do that too. 04/09/2012 09:26 | dissertation service

# re: Verbose Basic .NET: Busted!

Gravatar Writing services reviews can easily assist clients to find out the required services, just visit Best-Writing-Services company best-writing-services.com. 14/09/2012 20:47 | Look here

# re: Verbose Basic .NET: Busted!

Gravatar Provided that you don’t know which company to choose for buying resume and long for professional CV writing services, look here "prime-resume.com". You can look over resume formats or order resume from expert resume writers. 13/11/2012 04:54 | Look here

# re: Verbose Basic .NET: Busted!

Gravatar You like to buy research paper about this post, using the assistance of the essays writers. You definately will need use plagiarism detector. Now, you don’t have to worry about getting a failing mark simply because you have been accused of plagiarizing someone else’s work. 16/11/2012 06:35 | plagiarism detection

# re: Verbose Basic .NET: Busted!

Gravatar Unluckily men don't trouble just about stolen stuff. Thus they do not use plagiarism check. 18/11/2012 16:43 | plagiarism checker

# re: Verbose Basic .NET: Busted!

Gravatar Opting for our SEO and one way link building services, you will surely determine PR optimizing within no more than weeks. The back links obtained will be indexed quickly and you will surely get a great profit. 21/11/2012 11:42 | web directory submission service

# re: Verbose Basic .NET: Busted!

Gravatar This is the best topic I have got of all time discover! Groovy topic around study! When I have studied at university I as well face up task of writing my research and topic exercise, because I had a job and own occupy in life, and I never had enough time to construct dissertation. And then my buddy inform me about thesis writing! From that time my life has become rather! 24/02/2013 10:21 | dissertation writing

# re: Verbose Basic .NET: Busted!

Gravatar The clients believe our resume service cause they are very trustworthy! The company produces buy resume "exclusiveresume.com" to conform the precise area of science you wish. 05/12/2013 21:21 | Web page

# re: Verbose Basic .NET: Busted!

Gravatar Best essay writing service review may easily assist you to find the desired services, simply visit Best-Writing-Services company (best-writing-services.com). 15/12/2013 07:25 | SuperbEssay.com testimonials

Comments have been closed on this topic.
 

 

Copyright © Marco Trova