C# Rocks!
C# Rocks!
Despite my everlasting hatred for all things Microsoft, I find that I am absolutely loving C# (along with C# express). Never have I had so much joy doing Windows programming. I especially love that foreach and the string datatype.
Working On:Bootloader, RWFS Image Program
Leviathan: http://leviathanv.googlecode.com
Kernel:Working on Design Doc
Leviathan: http://leviathanv.googlecode.com
Kernel:Working on Design Doc
- steveklabnik
- Member
- Posts: 72
- Joined: Wed Jan 28, 2009 4:30 pm
Re: C# Rocks!
Real men, when their loved ones are held at gunpoint and are forced to code with Microsoft tools, respond with "F#" when asked to choose their poison.
Re: C# Rocks!
I'm interested in getting into C# programming at some stage in the near future. Does anybody have any recommendations for tutorials (apart from those on MSDN, which I find completely incomprehensible)?
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
Re: C# Rocks!
Hi,
I never read any books on C# language actually . I learned the syntax and started coding right away , it's very similar to java . But i would recommend you to read the book CLR via C# , which is a great book by the way . This is one books about C# which i found to be quite good .
http://vijaymukhi.com . The site book section contains a good number of books related to C# .
I shall try to find some more resources for you , but at a later post .
Regards
Shrek
I never read any books on C# language actually . I learned the syntax and started coding right away , it's very similar to java . But i would recommend you to read the book CLR via C# , which is a great book by the way . This is one books about C# which i found to be quite good .
http://vijaymukhi.com . The site book section contains a good number of books related to C# .
I shall try to find some more resources for you , but at a later post .
Regards
Shrek
Re: C# Rocks!
Despite it's complexity C# was actually very easy to learn.
Working On:Bootloader, RWFS Image Program
Leviathan: http://leviathanv.googlecode.com
Kernel:Working on Design Doc
Leviathan: http://leviathanv.googlecode.com
Kernel:Working on Design Doc
Re: C# Rocks!
I constantly preach about C#.NET (with the VS EE) in IRC.
It's extremely easy to pick up with a little bit of C-syntax-knowhow, and paired with VS C#.NET EE IDE is a great programming tool. I've made a few apps that would have taken me days to write in standard C/C++ (or even C# without the fancy IDE) in hours.
It's extremely easy to pick up with a little bit of C-syntax-knowhow, and paired with VS C#.NET EE IDE is a great programming tool. I've made a few apps that would have taken me days to write in standard C/C++ (or even C# without the fancy IDE) in hours.
Website: https://joscor.com
Re: C# Rocks!
That's my favourite part.01000101 wrote:I constantly preach about C#.NET (with the VS EE) in IRC.
It's extremely easy to pick up with a little bit of C-syntax-knowhow, and paired with VS C#.NET EE IDE is a great programming tool. I've made a few apps that would have taken me days to write in standard C/C++ (or even C# without the fancy IDE) in hours.
Working On:Bootloader, RWFS Image Program
Leviathan: http://leviathanv.googlecode.com
Kernel:Working on Design Doc
Leviathan: http://leviathanv.googlecode.com
Kernel:Working on Design Doc
- Steve the Pirate
- Member
- Posts: 152
- Joined: Fri Dec 15, 2006 7:01 am
- Location: Brisbane, Australia
- Contact:
Re: C# Rocks!
C# is quite a nice language, but I really don't like anything tied to .Net because not only is it very unportable (unless you want to ship a massive Mono runtime, and Windows Forms won't work anywhere near as well on other platforms), C# and Visual Studio encourage bad coding practice. This is because being able to just double click on a control and start writing its event handler makes it far to easy to just put all your view and controller code (if you're into MVC) mixed up into the same function. This (in my experience using C# quite a lot at work) leads to massive headaches when you want to make changes to the user interface... Cocoa and Objective C do a far better job at this, but since that too is quite unportable I prefer C++.
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Re: C# Rocks!
Hi,
I personally quite like C# when I do Windows development that requires a GUI.
I fail to understand why everything has to be portable, or else it's "evil".C# is quite a nice language, but I really don't like anything tied to .Net because not only is it very unportable
I personally quite like C# when I do Windows development that requires a GUI.
As with any other language, proper design and planning helps keep the headaches away later on . That's possibly the worst part of Visual C# - it's so easy to skip straight to coding because it's so easy to develop the application on the fly rather than following a process.This is because being able to just double click on a control and start writing its event handler makes it far to easy to just put all your view and controller code (if you're into MVC) mixed up into the same function.
Re: C# Rocks!
I always was against high level languages like Java and C#, then I tried java and it was easy and fun (and annoying but lets leave for now) and also portable. Then I tried C# and it was pleasure (don't misunderstand me, I still prefer C and C++) but when you need to write something fast, and with gui, C# is the language.
About portability, porting c++ GUI application aint easy also, you anyway will have to install some libraries (wxwidgets, gtk) but: a. gtk looks ugly on windows, b. there is no normal GUI editor for wxwidgets/gtk, and this why writing gui in C/C++ becomes a nightmare. At the end I want to have GUI, not messing with layout options and trying to understand why my "OK" button is located 10px down from my "Cancel" button.
About portability, porting c++ GUI application aint easy also, you anyway will have to install some libraries (wxwidgets, gtk) but: a. gtk looks ugly on windows, b. there is no normal GUI editor for wxwidgets/gtk, and this why writing gui in C/C++ becomes a nightmare. At the end I want to have GUI, not messing with layout options and trying to understand why my "OK" button is located 10px down from my "Cancel" button.
TCP/IP: Connecting people...
- Colonel Kernel
- Member
- Posts: 1437
- Joined: Tue Oct 17, 2006 6:06 pm
- Location: Vancouver, BC, Canada
- Contact:
Re: C# Rocks!
I like C#, and in theory I'd be using it a lot at work, but most of the code in the product I'm working on is actually SQL stored procedures. I feel like I'm stuck in some kind of COBOL-esque time warp with lots of capital letters.
Top three reasons why my OS project died:
- Too much overtime at work
- Got married
- My brain got stuck in an infinite loop while trying to design the memory manager
- Owen
- Member
- Posts: 1700
- Joined: Fri Jun 13, 2008 3:21 pm
- Location: Cambridge, United Kingdom
- Contact:
Re: C# Rocks!
Interestingly, most of them comments apply for Qt on C++. (Yes, including the foreach loop!)
I took to learning it when Nokia LGPLed it... And, well, I find it to be one of the nicest environments I have ever worked with
I took to learning it when Nokia LGPLed it... And, well, I find it to be one of the nicest environments I have ever worked with
Re: C# Rocks!
Perhaps it's true for WinForms (Though most people who use Model-View-Controller or Model-View-Presenter have a decent time with it) but it's absolutely false for something more modern like WPF.Steve the Pirate wrote:C# is quite a nice language, but I really don't like anything tied to .Net because not only is it very unportable (unless you want to ship a massive Mono runtime, and Windows Forms won't work anywhere near as well on other platforms), C# and Visual Studio encourage bad coding practice. This is because being able to just double click on a control and start writing its event handler makes it far to easy to just put all your view and controller code (if you're into MVC) mixed up into the same function. This (in my experience using C# quite a lot at work) leads to massive headaches when you want to make changes to the user interface... Cocoa and Objective C do a far better job at this, but since that too is quite unportable I prefer C++.
Most experienced WPF devs use Model - View - ViewModel which enforces a strict separation of concerns between the backend business objects, and the front end View, with the ViewModel being an adapter for the Model for the View.
Honestly, if followed strictly, the app should be able to run "headless" without WPF at all, and even with a WinForms UI thrown ontop of it (Granted you use INotifyPropertyChanged instead of DependencyObject in your ViewModel).
WinForms had the concept of DataBinding and INotifyPropertyChanged since .NET 1.0, and WPF takes it further with DependencyObjects, DependencyProperties and a more robust databinding architecture. It's really a joy to use.
I've found C# to be optimal for almost every aspect of my Windows programming, it can go neck and neck with C++ in many areas, if you know how to pump the performance out of the language/framework, and the pureness of the language is very attractive.
Re: C# Rocks!
C# is very often used for game development, right? when I see the word; C#, I think about .NET and Microsoft, directly.
I dont like .NET, I only use VC++.NET for making applications with some GUI.
MSDN sucks hard, its search function too. Thats why i prefer making GUI in VC++.NET than C++ with the windows.h
Java, slow to me, got to learn it for school (schools here in The Netherlands use it as primary language (Middle High School AND University)
I prefer C
// PHP
I dont like .NET, I only use VC++.NET for making applications with some GUI.
MSDN sucks hard, its search function too. Thats why i prefer making GUI in VC++.NET than C++ with the windows.h
Java, slow to me, got to learn it for school (schools here in The Netherlands use it as primary language (Middle High School AND University)
I prefer C
// PHP
Jinix
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Re: C# Rocks!
With XNA (basically DirectX .Net'erised with some Xbox specific features) you can write hobby games in C# for Windows and Xbox 360. C++ is still by FAR the most used language in professional game development.PHPnerd wrote:C# is very often used for game development, right?
My OS is Perception.