Fog Creek Software
Discussion Board




C# is just VB without semi colons

You all know it is true and are just too stupid to admit it.

J.R. TROLLsen
Wednesday, March 24, 2004

haha, I mean "with" semi colons.

I am stupid but I do admit it.

J.R. TROLLsen
Wednesday, March 24, 2004

You forgot  Dim

Damian
Wednesday, March 24, 2004

If you're trying to start a flame war, you don't know how to do it.  I'll help you:

Linux is just a DOS clone with a Windows-3.1-cloned shell, minus usability, intuition, and intelligence.

Capn' Kirk
Wednesday, March 24, 2004

Linux, bah... we've been doing that in Lisp for years

Damian
Wednesday, March 24, 2004

How many Slashdotters does it take to screw in a lightbulb?

Don't know.  They like watching porn in the dark.

Capn' Kirk
Wednesday, March 24, 2004

>How many Slashdotters does it take to screw in a lightbulb

Wouldn't know. Most of us don't screw at all, and the lucky ones who do use our beds, sofas or kitchens, not lightbulbs. Now tell me, how does it feel to screw in a lightbulb?

Adriano Varoli Piazza
Wednesday, March 24, 2004

Haha, I love it when someone can't understand how to use prepositions!

Capn' Kirk
Wednesday, March 24, 2004

wHaT aBoUT CaSe SENsitIviTy?

pdq
Wednesday, March 24, 2004

What about unsafe code? Pointers anyone?

.NET Developer
Wednesday, March 24, 2004

<<Pointers anyone>>

Thats the point.

Most slashdotters have one and thats  just like a point.
Hence they try to prove their manhood by trashing microsoft.

K
Wednesday, March 24, 2004

"Most slashdotters have one and thats  just like a point.
Hence they try to prove their manhood by trashing microsoft."

hey, IM A SLASHDOTTER AND IM HUNG LIKE A RABBIT.


but I never trash microsoft.

hiding behind a pseudonym
Wednesday, March 24, 2004

> Linux is just a DOS clone with a Windows-3.1-
> cloned shell, minus usability, intuition,
> and intelligence.

Let's also include something about Windows being rip-off of Mac, and windows being unstable.

Alexander Chalucov (www.alexlechuck.com)
Wednesday, March 24, 2004

OK, how about this:

import java.really.important.stuff.*;
import java.some.more.important.stuff.*;
import java.lets.not.forget.some.of.this.*;
import java.and.now.for.something.completely.different.*;

// Open a file

InputStream is = new InputStream( StreamType.VeryImportant );
InputStreamHelper ish = new StreamHelper( is );
InputStreamVerifier isv = new InputStreamVerifier( is, ish );
Stream s = new Stream( is, isv );

InputReader ir = new InputReader( is );
InputReaderHelper irh = new ReaderHelper( ir );
InputReaderVerifier irv = new ReaderVerifier( ir, irh );
InputClassToCleanAfterReader ictcar = new InputClassToCleanAfterReader( ir );
Reader r = new Reader( ir, irv, ictcar );

InputFile if = new InputFile( s, r );
InputFileHelper ifh = new InputFileHelper( if );
InputFileVerifier ifv = new InputFileVerifier(ifh, ifv );
InputClassToMakeSureFileIsNotLocked ictmsfinl = new InputClassToMakeSureFileIsNotLocked( if );
InputClassToMakeSureFileIsNotCorrupted icmtsfinc = new InputClassToMakeSureFileIsNotCorrupted( if );
InputClassToAdvanceFilePointer ictafp = new InputClassToAdvanceFilePointer( if );
InputClassToMakeAllThisCrapLookCooler ictmatclc = new InputClassToMakeAllThisCrapLookCooler( if );
File f = new File(if, ifv, ictmsfinl, icmtsfinc, ictafp, ictmatclc );

try
{
  f.openTheDamnFile( "blah_blah.conf" );
}
catch (SomeDumbException sde)
{
  sde.doNothingRelevantAboutThis();
  sde.whatTheHellAmISupposedToDoWithThis();
  sde.probablyJustPrintTheDamnStackTraceAnyway();
}
catch (SomeEvenDumberException sede)
{
  sede.whatDoYouMeanFoobarNotScrewedOnCorrectly();
  sede.whatTheHellIsAFoobar();
  sede.iDontRecallInstantiatingAnyFoobar();
  sede.imOuttaHere();
}


:)

Paulo Caet... er, I mean, anonymous
Thursday, March 25, 2004

Have you considered  Delphi for this? The lightbulb screwing controls are great in Delphi.

Just me (Sir to you)
Thursday, March 25, 2004

"Most slashdotters have one and thats  just like a point.
Hence they try to prove their manhood by trashing microsoft."

Ok. Let me rephrase:

C# does allow you to mark blocks of code with the *unsafe* keyword. (I didn't made it up, it's a C# keyword)

That is useful if you need to work with memory at the pointer (as in int* p) level.

C# is not just VB with semicolons.

I don't know what it has to do with slashdot and trashing Microsoft.


seesh!..

.NET Developer
Thursday, March 25, 2004

*  Recent Topics

*  Fog Creek Home