Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ethen

macrumors regular
Dec 5, 2005
186
1
c# is a pretty good language to develop in, but it's too vendor specific (M$)
 

DavidLeblond

macrumors 68020
Jan 6, 2004
2,351
682
Raleigh, NC
C# as a language is nice. .NET as a framework, however, is seriously lacking. It'll be interesting to see if they produce anything decent with this "subset."
 

valiar

macrumors regular
Mar 14, 2006
222
0
Washington, DC
Since .NET got mentioned, can someone here explain to me how is it better than Java 5?
The language itself seems almost identical, the benchmarks I've seen around come very close...
As I understand, Windows Forms have somewhat better performance than Swing, but this part of .NET is Windows-specific.
So why would I want to develop in C#?
 

DavidLeblond

macrumors 68020
Jan 6, 2004
2,351
682
Raleigh, NC
valiar said:
Since .NET got mentioned, can someone here explain to me how is it better than Java 5?
The language itself seems almost identical, the benchmarks I've seen around come very close...
As I understand, Windows Forms have somewhat better performance than Swing, but this part of .NET is Windows-specific.
So why would I want to develop in C#?

You would want to develop using .NET if you either
A) want to make a windows forms application thats pretty heavily integrated with windows stuff
B) want to write a web application that is heavily integrated into an already Windows-centric infrastructure (ie SQL Server)
C) have a lot of time and a LOT of money (to get .NET to do what you want, you need to throw a lot of money at it. You want data grids? Already built in! Oh, sorry... you want grids you can actually USE... that'll be an extra $1k or a few extra man-weeks to roll your own)

Yeah, windows forms have a LOT better performance than Swing... I'm not really a big fan of Swing. Not a big fan of .NET either though.
 

mcmadhatter

macrumors 6502
Sep 6, 2005
338
2
Bath, UK
That will be awesome wheni tis done, I have never got the hang of objective c programming, c# is a great language, mainly as it has the best bits of other languages. .Net is good (if you want to program for windows), what would be amazing would be c# programming and a mac version of the .NET GUI designer to go with it.
 

treblah

macrumors 65816
Oct 28, 2003
1,285
0
29680
MacRumoron said:
what is M$ anyway? :confused:

Micro$oft, M$, M$FT, Microshaft or Microsucks are all 'hipster' ways of saying Microsoft. There are about a million more too. :rolleyes:
 

Catfish_Man

macrumors 68030
Sep 13, 2001
2,579
2
Portland, OR
I really hope Cocoa# takes off. That would be just about the sexiest application development setup evar (being practical here; if you don't count vendor support and such, there are nicer languages...).
 

mkrishnan

Moderator emeritus
Jan 9, 2004
29,776
15
Grand Rapids, MI, USA
Does this technology have less of a chance of being a vector for malware onto a computer than previous versions of ActiveX and the related technologies have been? I am suspicious of anything that has "Microsoft" and "allows code to be executed within the web browser" in the same context.... :rolleyes:
 

IRISHRABB17

macrumors newbie
Apr 2, 2006
2
0
Is there Anything to Convert from C# ?

What utilities exist to convert code from C# to some code that can be used to develop an application for the Mac?

Thanks,
RABB17
 

Nermal

Moderator
Staff member
Dec 7, 2002
20,977
4,543
New Zealand
Microsoft released a "preview" of C# back in 2003. It only supported console apps, and probably lacked quite a few features, but I guess they've been building on top of that.
 

floyde

macrumors 6502a
Apr 7, 2005
808
1
Monterrey, México
DavidLeblond said:
C# as a language is nice. .NET as a framework, however, is seriously lacking. It'll be interesting to see if they produce anything decent with this "subset."

Have you ever developed with .NET? It's really not as bad as you think. In fact, I think it's the only decent software that Microsoft has ever produced (aside from Office Mac). The framework is far from lacking IMHO, you never find yourself re-inventing the wheel like you would with other languages (*cough* Java *Cough* :p ).

DavidLeblond said:
C) have a lot of time and a LOT of money (to get .NET to do what you want, you need to throw a lot of money at it. You want data grids? Already built in! Oh, sorry... you want grids you can actually USE... that'll be an extra $1k or a few extra man-weeks to roll your own)
I feel it's the exact opposite. I've never had any problems with .NET's exisiting controls, and I've never had the need to use software that's not included in the framework itself.
Also, it has very good MySql integration as well as one of the best IDEs out there. Of course, for now, there's the major drawback of its Windows-only support, but if they bring it to the Mac, I'll take it as good news.
 

DavidLeblond

macrumors 68020
Jan 6, 2004
2,351
682
Raleigh, NC
floyde said:
Have you ever developed with .NET? It's really not as bad as you think. In fact, I think it's the only decent software that Microsoft has ever produced (aside from Office Mac). The framework is far from lacking IMHO, you never find yourself re-inventing the wheel like you would with other languages (*cough* Java *Cough* :p ).

Pretty much all I do is .NET development, and have been with it since its inception. Its a wrapper with one or two additional pieces of functionality thrown in.

floyde said:
I feel it's the exact opposite. I've never had any problems with .NET's exisiting controls, and I've never had the need to use software that's not included in the framework itself.
Also, it has very good MySql integration as well as one of the best IDEs out there. Of course, for now, there's the major drawback of its Windows-only support, but if they bring it to the Mac, I'll take it as good news.

Yes, you can do a lot with the framework controls if you want to write a crapload of code. Like the grid control. Microsoft's is so worthless, THEY don't even use it... they use Xceed's. You want to take an XML framework and turn it into a database? Microsoft will tell you to buy XMLSpy. (or roll your own which is what we ended up doing.) You want to populate a SQL Mobile database from the desktop? Hope you have IIS installed! (unless you hack your way around it again, like we ended up doing against Microsoft's suggestion.)

The IDE is excellent, I agree, but still sub-par. Our Source Safe craps itself daily. Visual Studio 2005 STILL has a "Clean Solution" menu item that does absolutely nothing unless you are using C++. Occasionally my copy will crash on a blank line or a comment because the IDE forgets to update the debug database. Stuff like this shouldn't occur with a product that costs as much as we're paying for it.
 

floyde

macrumors 6502a
Apr 7, 2005
808
1
Monterrey, México
DavidLeblond said:
Pretty much all I do is .NET development, and have been with it since its inception. Its a wrapper with one or two additional pieces of functionality thrown in.
Ok, so you have experienced it firsthand, hehe :eek: . I guess I've just had much simpler projects so far, but I still think it's not that bad. What would you rather develop with (genuine curiosity)?
 

DavidLeblond

macrumors 68020
Jan 6, 2004
2,351
682
Raleigh, NC
floyde said:
Ok, so you have experienced it firsthand, hehe :eek: . I guess I've just had much simpler projects so far, but I still think it's not that bad. What would you rather develop with (genuine curiosity)?

The tool I'd rather develop in doesn't exist. The only reason I have so much issue with VS is due to the fact that thats pretty much what I code in. I code on XCode at home (not often though) and TextMate for PHP... I've done work in Eclipse too. IDE wise, out of all of them, I'd probably have to say VS trumps them all... despite all the times I complain about it. XCode is decent, its stable, and love the controlsets but its still kind of undeveloped. Eclipse is nice from what I've used by it, but its so... javaish ;). TextMate is just a text editor (but its pretty damn nice for a text editor.)

So yeah, I'd rather develop with XCode 6.0. On my 42" iMac Quad Core Duo. (the keyboardless model that you control WITH YOUR MIND)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.