|
RE: VB vs C# is there a auto documenting feature in C#: msg#00167org.user-groups.dotnet.padnug
Ken wrote: >Excuse me, short-circuit is to confusing? I don't think so. If a person is a programmer then they should be able to follow a language syntax. It appears that the original VB.NET designers would disagree with you. That's why they made Or not perform short-circuit evaluation, and introduced AndAlso and OrElse which were not present in VB6. You are an educated user of the language, many are not. One attraction of VB.NET is that it doesn't require people to be serious programmers in order to write serious programs to get their jobs done. That doesn't make them just hobbyists, they are also professionals who write programs without having to be professional programmers, and that's a huge market. >Conditionals should never have side effects. We're talking logical operations, not conditionals. Dim Success As Boolean = F(x) Or G(x) Who knows what side effects or linkages there may be in evaluating the functions F and G? >Of course equivalant in C# reads: "if This ampersand ampersand That brace". Wow, flame bait! Oooh, look, my language is just like English. "If you go to the store then buy me some milk end if." I thought we were being serious. Cheers, Stuart Stuart Celarier | Fern Creek | www.ferncrk.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: VB vs C# is there a auto documenting feature in C#: 00167, Stuart Celarier |
|---|---|
| Next by Date: | Re: VB vs C# is there a auto documenting feature in C#: 00167, Rocky Moore |
| Previous by Thread: | RE: VB vs C# is there a auto documenting feature in C#i: 00167, Ken Pinard |
| Next by Thread: | Re: VB vs C# is there a auto documenting feature in C#: 00167, darthsmily |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |