Anyone here that uses C# besides PB ?
Anyone here that uses C# besides PB ?
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.
Well i would like to know what you people think about C#, in comparison with PB.
Re: Anyone here that uses C# besides PB ?
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.
and thus a certain state on the market. I use it for most of my personal projects and it basically replaced PB.
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
-
- Addict
- Posts: 2345
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: Anyone here that uses C# besides PB ?
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.
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
Daniel
Re: Anyone here that uses C# besides PB ?
You can add methods to enumerations using extension methods. It's not so straight forward but it is possible. 

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
Re: Anyone here that uses C# besides PB ?
Would you mind to give some code examples? What don't you like?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.
After 2 years of terrible C++ lessons you should love C#, it is almost BASIC.
Re: Anyone here that uses C# besides PB ?
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.
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 ?
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.
Didn't know you are still on the GameMaker level.
Re: Anyone here that uses C# besides PB ?
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.
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.

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
-
- Addict
- Posts: 2345
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: Anyone here that uses C# besides PB ?
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.Shield wrote:You can add methods to enumerations using extension methods. It's not so straight forward but it is possible.
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
Daniel
Re: Anyone here that uses C# besides PB ?
If C# is too comfortable... ASSEMBLY FTW !!!
Y right...
Y right...
Re: Anyone here that uses C# besides PB ?
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 ?
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 ?
Well anyone got an idea besides the one i just said for my laptop ?
Re: Anyone here that uses C# besides PB ?
Anyone else ?