Anyone here that uses C# besides PB ?

Everything else that doesn't fall into one of the other PB categories.
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Anyone here that uses C# besides PB ?

Post by Primoz128 »

Well we started to use it at school after 2 years of terrible c++ lessons, and it seems for me that the language is horrible. The reasons i think it's horrible is, because for making an array, random number, and using a variable of wanted data type trough convertion/parsing, 2 libraries for that no idea why... well thus far these stuff make the idea for me that C# is horrible.


Well i would like to know what you people think about C#, in comparison with PB.
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: Anyone here that uses C# besides PB ?

Post by Shield »

C# is, in my opinion, by far the best and most well designed general purpose language out there that reached "mainstream" status
and thus a certain state on the market. I use it for most of my personal projects and it basically replaced PB.
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Anyone here that uses C# besides PB ?

Post by DarkDragon »

Many languages including C++/C# are easy to understand as they all follow the same paradigms. Even the frameworks are often very similar. I generally don't care which language I'm using but I'm missing a mix of all. I miss enumerations with methods in C# which I got in Java and I miss multiple inheritance in Java which I got in C++.

At work I have to use C# and Java.

C# is a far more complex language than PB. As well as C++, Java, ... . They're object oriented, but for small tests it is really easier to work with PB in many cases.
bye,
Daniel
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: Anyone here that uses C# besides PB ?

Post by Shield »

You can add methods to enumerations using extension methods. It's not so straight forward but it is possible. :)
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Anyone here that uses C# besides PB ?

Post by Danilo »

Primoz128 wrote:Well we started to use it at school after 2 years of terrible c++ lessons, and it seems for me that the language is horrible. The reasons i think it's horrible is, because for making an array, random number, and using a variable of wanted data type trough convertion/parsing, 2 libraries for that no idea why... well thus far these stuff make the idea for me that C# is horrible.
Would you mind to give some code examples? What don't you like?
After 2 years of terrible C++ lessons you should love C#, it is almost BASIC.
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Re: Anyone here that uses C# besides PB ?

Post by Primoz128 »

In those 2 years of c++ we did as much as full week of only programing by a GOOD teacher, that much horrible teachers and teaching programs are...

And sorry since i started Game Maker's language GML, i can not trade how cool it is writing in there to something like C#, you gota change IDE settings a million to get the settings GM has on start that really help you coding and such.

PB is for me the best language i have known so far.
Im buying PB tomorov.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Anyone here that uses C# besides PB ?

Post by Danilo »

Of course you should buy PureBasic tomorrow. After some years with PB, C, C++ and C# learning will be much easier.
Didn't know you are still on the GameMaker level.
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: Anyone here that uses C# besides PB ?

Post by Shield »

The things IDEs like Visual Studio for C# and Eclipse for Java offer you go far beyond anything the PB IDE will ever give you.
So a few minutes customizing the tool you are going to work with are well spent if it makes your life easier.

Then again I like that PB is kept simple (open IDE, enter code, run, done). Great for doing quick tests. :)
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Anyone here that uses C# besides PB ?

Post by DarkDragon »

Shield wrote:You can add methods to enumerations using extension methods. It's not so straight forward but it is possible. :)
Yes, but you cannot assign an extension method to only one value of the enum. Well, and that was just one example. Another thing I'm missing is overwriting the getter of a property and adding a setter (because the base class had no setter). Method modifiers should also work with set/get.
There are even more points I'm not happy with in C#, but its one of the most comfortable languages I think. Some people would call C# a bit too comfortable, as properties hide the complexity behind.
bye,
Daniel
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Re: Anyone here that uses C# besides PB ?

Post by Primoz128 »

If C# is too comfortable... ASSEMBLY FTW !!!

Y right...
X
Enthusiast
Enthusiast
Posts: 311
Joined: Tue Apr 04, 2006 6:27 am

Re: Anyone here that uses C# besides PB ?

Post by X »

I use C# and Java at work. At home, I use C#/mono for server side (windows linux), PB for client side (windows), and Basic4Android for client side Android (Kindle Fire).
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Re: Anyone here that uses C# besides PB ?

Post by Primoz128 »

I bought a laptop for 730 € on last day of school last year, and i really don't use it for anything besides 2 pc LAN, or 3 when occasion happens... and i tried using laptop alongside my stationary on the same desk, but it seems laptop screen, keyboard on laptop and stuff didn't really match and help... i don't think dual PCs work as good as more monitors... though i bet it's possible to plug laptop as a monitor for stationary to help myself coding.
Well anyone got an idea besides the one i just said for my laptop ?
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Re: Anyone here that uses C# besides PB ?

Post by Primoz128 »

Anyone else ?
Post Reply