Page 1 of 1
Anyone here that uses C# besides PB ?
Posted: Wed Oct 10, 2012 8:06 pm
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.
Re: Anyone here that uses C# besides PB ?
Posted: Wed Oct 10, 2012 10:47 pm
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.
Re: Anyone here that uses C# besides PB ?
Posted: Thu Oct 11, 2012 5:44 am
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.
Re: Anyone here that uses C# besides PB ?
Posted: Thu Oct 11, 2012 6:11 am
by Shield
You can add methods to enumerations using extension methods. It's not so straight forward but it is possible.

Re: Anyone here that uses C# besides PB ?
Posted: Thu Oct 11, 2012 7:34 am
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.
Re: Anyone here that uses C# besides PB ?
Posted: Thu Oct 11, 2012 8:53 am
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.
Re: Anyone here that uses C# besides PB ?
Posted: Thu Oct 11, 2012 10:08 am
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.
Re: Anyone here that uses C# besides PB ?
Posted: Thu Oct 11, 2012 10:16 am
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.

Re: Anyone here that uses C# besides PB ?
Posted: Thu Oct 11, 2012 6:29 pm
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.
Re: Anyone here that uses C# besides PB ?
Posted: Thu Oct 11, 2012 6:40 pm
by Primoz128
If C# is too comfortable... ASSEMBLY FTW !!!
Y right...
Re: Anyone here that uses C# besides PB ?
Posted: Thu Oct 11, 2012 8:22 pm
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).
Re: Anyone here that uses C# besides PB ?
Posted: Thu Oct 11, 2012 9:21 pm
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 ?
Re: Anyone here that uses C# besides PB ?
Posted: Mon Oct 15, 2012 8:59 pm
by Primoz128
Anyone else ?