r/dotnet • • Nov 01 '17

How .Net was Started

Post image
257 Upvotes

40 comments sorted by

39

u/nemec Nov 01 '17

And they called it J++. Then Sun called Microsoft and said they owned the copyright to blackjack, so they made another, superior java with Texas Hold 'Em and Call Girls

9

u/oiwefoiwhef Nov 01 '17

Well that was a risky click

4

u/jhartwell Nov 01 '17

Don't forget J# as well!

18

u/[deleted] Nov 01 '17

And better generics

17

u/Jermny Nov 01 '17

Generics didn't come until 2.0. Ugh... silly ArrayLists.

7

u/robhol Nov 01 '17

That was still before Java's... whatever not-quite-generic thing, though, wasn't it?

4

u/crozone Nov 02 '17

Type erasures! So you can say your language has generics without actually being able to do anything cool with them.

3

u/gambit700 Nov 01 '17

I was so glad when 2.0 came out. When through the code base I was using at the time and nuked all the ArrayLists. Best feeling ever(at that job)

3

u/cat_in_the_wall Nov 01 '17

i don't know, that's got to be a good feeling that extends to more than work. fixing things up with static types gets me all hot and bothered, work or not.

2

u/crozone Nov 02 '17

This was me when the null propagating operator came out. I had so much fun nuking null checks. It was great.

2

u/[deleted] Nov 01 '17

and that's why you always avoid 1.x of MS.

net core 1.x? meh

EF up until ... 6? meh

net framework 1.x? meh. and fuck you MS for deprecating the email api

1

u/[deleted] Nov 02 '17

The donkey of an API is back, and just as bafflingly shitty as ever, in 2.0.

3

u/[deleted] Nov 01 '17

[removed] — view removed comment

4

u/crozone Nov 02 '17

MailKit is the f u t u r e

-5

u/nirataro Nov 01 '17

Go: there's no need generics

3

u/onebit Nov 01 '17

That's not how I remember it. MS wanted to include packages inside the java namespace that were outside of the spec. It failed the Java certification because of this.

2

u/jakdak Nov 01 '17

If memory serves, they mostly wanted to provide hooks to the native Windows UI APIs so that apps behaved better than the mess that was AWT/Swing back then.

2

u/danechristenson Nov 01 '17

This is literally how I explained it a week ago to someone.

2

u/rvalt Nov 08 '17

Don't forget value types and unsigned integers. Pretty much the only thing Java does better IMHO is lambda classes.

0

u/[deleted] Nov 01 '17

[deleted]

2

u/crozone Nov 02 '17

And they nearly have var!

-1

u/vplatt Nov 01 '17

I like LINQ too, but that kind of expression dense tightly packed code is hard to debug without rewriting it into a basic foreach format.

6

u/jewdai Nov 01 '17

you can put breakpoints in linq statements and give them full bodies. (though entity framework may cause some issue)

Most Linq statements are not that long or complex. If they are you may be doing too much.

1

u/vplatt Nov 01 '17

Hey, I don't make them that long; I just tend to inherit them. :|

1

u/TryMeOnBirdLaw Nov 04 '17 edited Dec 06 '25

act vast mountainous detail sip pet offer alive abounding office

This post was mass deleted and anonymized with Redact

0

u/[deleted] Nov 01 '17

[deleted]

2

u/Classic1977 Nov 01 '17

It's really the type inference that I miss.

2

u/crozone Nov 02 '17

Java: We give you lambdas, but with checked exceptions! Good fucking luck!

12

u/[deleted] Nov 01 '17 edited Nov 01 '17

[removed] — view removed comment

0

u/[deleted] Nov 01 '17

[deleted]

5

u/throwaway_lunchtime Nov 01 '17

I think its also important to remember than Anders Hejlsberg was there and probably had some sort of make-things-better mandate.

2

u/TryMeOnBirdLaw Nov 04 '17 edited Dec 06 '25

birds late complete future attraction merciful adjoining beneficial cause cough

This post was mass deleted and anonymized with Redact

4

u/ilikecaketoomuch Nov 01 '17

i was there. look up rotor source code.

The VB runtime had something called PCode. It was a precursor to the .NET IL. Some of the devs went over to what is known as the .NET team. Internally it was called something else. Rotor was born. it ran on freebsd , not windows. Most of us where unix c developers, only one was (?) frank was java(or some off the wall ML )

For the longest time there was a way to inject __asm into the .net. unfortunately in .NET 4.x they removed that.

good times.

1

u/crozone Nov 02 '17

For the longest time there was a way to inject __asm into the .net. unfortunately in .NET 4.x they removed that.

Wait, seriously?! That's actually pretty cool.

1

u/mycall Nov 05 '17

Yeah, bring that back. Probably too big of a security risk though.

1

u/mycall Nov 05 '17

Ah, that explains why there was a FreeBSD rotor.. here it is. I never knew that. I bet people avoided it like the plague, thinking evil Microsoft et al.