|
W∴ Balboos wrote: {{ }{ }{ }{ }}; ; ; ;;{}{}{}{String ^harder = "oh, it feels soooo good" } Talk namespace to me . . . Ahh::AHhh::AHHH; Hey, this is the lounge, keep it decent please!
|
|
|
|
|
It just came to mind - the only basic of general worth: Basic Instinct
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Actually most basics are pretty indispensable! Try becoming a good programmer (or anything) without mastering the basics
|
|
|
|
|
Sander Rossel wrote: Try becoming a good programmer (or anything) without mastering the basics Perhaps you're not familiar with the concept of "Management" ? ? ?
And, at the risk of being redundantly redundant: What about those people about whom it is said "He's good for nothing".
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
W∴ Balboos wrote: And, at the risk of being redundantly redundant: What about those people about whom it is said "He's good for nothing".
No one is good for nothing. He can always be used as a bad example.
The good thing about pessimism is, that you are always either right or pleasently surprised.
|
|
|
|
|
Four words: "ON ERROR RESUME NEXT"
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
You're right, it does more than C#!
I've never used that one though
I wonder if it's just a shorthand for an empty catch block...
In that case C# supports it too
|
|
|
|
|
... An empty catch block round each individual line of code...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Used properly it allows you to code try catch blocks
:
:
:
on error resume next
perform_some_action_which_may_generate_an_error
on error goto 0
test_and_act_upon_err_object
:
:
:
unfortunately most people forget to do the testing part.
|
|
|
|
|
Not sure what that does, but it's possible in C# as well
|
|
|
|
|
Sander Rossel wrote: VB can only do everything C# can
No it can't; there are things C# can do that VB.net can't.
|
|
|
|
|
Like? Use unsafe code... If I wanted unsafe I wouldn't go with C# either!
And there's some stuff VB can do that C# can't too
|
|
|
|
|
Case sensivity...
It's just a horrible mess in VB..
public class Demo {
public string Name { get; set; }
public Demo (string name) {
Name = name;
}
}
Public Class Demo
Public Property Name As String
Public Sub New(name As String)
Name = name
End Sub
End Class
Guess what? C# assigns the property in the constructor, whereas VB.Net doesn't...
|
|
|
|
|
Sander Rossel wrote: f you just love those curly braces and semi-colons... A simple } looks lot better that bloody End IF , End For , End Select , and End Using all over the bloody place.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
But at least you know what you're ending!
And really, is all that hatred towards VB because of some End If instead of }?
|
|
|
|
|
Sander Rossel wrote: But at least you know what you're ending I should only need to know that I'm ending a code block.And really, is all that hatred towards VB because of some End If instead of }? It's so much more than that.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
Except when your code blocks are catchs in ifs in switchs.
|
|
|
|
|
If you're doing that, you need more help than just a VB.NET End can give.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
While doing linq in VB.NET is possible it is implemented much better in C#.
Eric
|
|
|
|
|
|
I've used LINQ in both C# and VB.net... a lot. Once again, there is no real difference between the two languages. C# has better syntax; it makes you look smarter. VB.net gives you a better idea of what's actually happening; it educates you.
.NET is the magic here. C# and VB.net are just twin languages riding its glory.
- great coders make code look easy
- When humans are doing things computers could be doing instead, the computers get together late at night and laugh at us. - ¿Neal Ford?
|
|
|
|
|
Sander Rossel wrote: There is no finer language on earth in Mordor!
FTFY!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Ash VB durbatulûk, ash VB gimbatul,
ash VB thrakatulûk, agh burzum-ishi krimpatul.
|
|
|
|
|
Pete O'Hanlon wrote: Pragmatic.
Ahem...
if (OriginalPoster == isProgrammerWhoDoesMaintenanceOnOwnCode)
{
OriginalPoster = PragmaticProgrammer;
}
else
{
OriginalPoster = MajorProblemCreator;
}
|
|
|
|
|
Step away from the keyboard, and take a long walk. Rest your mind and your senses. Don't take this stuff we do, too seriously.
|
|
|
|