Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Berserker

Pages: 1 ... 6 7 [8]
106
Life Advice / Re: I forgot every thing...Now I want to program again...
« on: December 09, 2009, 03:34:46 pm »
Mono is easy to use? And I'll be able to use it to make mine fish correct? Cuz im tried of downloading shit I just end up never using.

Basically it's easy to use, the hardest part was to modify the computers environment variables so I could compile from the command prompt.

Still, I'm not sure if C# is the best choice. I still have no idea how to make a game where you shoot fishes.

Just for fun, I tried to make the game where you shoot fishes with your mouse in Python, and I did it in under 20 minutes (the source code was under 60 lines of code).

107
Life Advice / Re: I forgot every thing...Now I want to program again...
« on: December 09, 2009, 03:17:59 pm »
someone said Python sucked because it was slow and not really a programming language, but more of a scripting language.

Python is a scripting language, but it can still be compiled into exe, and it is slow, but it doesn't have to be, it can be speeded up with external C modules like Psyco very easily.

And people often say slower languages, like Python, C# and Java, are bad, but I doubt not many of them can write a program that really requires the power that C and C++ can give.

java has not been a slow language for a long time. Right now its around 2 to 5 times slower than c++ with the right compiler and runtime and c# is about 2 times slower than java. Most scripting languages on the other hand are dozens or hundreds of times slower than c++.

That's why I write my programs core with C++ and extend it with Python.

c# is not vc++

You don't need external libraries in c# to do what you asked.

Instructions for installing external libraries are on the net, just google for it if you need to (but you don't).


So you're saying, I could Make Mine Fish in C#?
I  must. And I must now. Where do I start? should I use Codeblocks?

If you don't want to mess with IDEs, you should check Mono if you use C#.

108
Life Advice / Re: I forgot every thing...Now I want to program again...
« on: December 09, 2009, 02:48:19 pm »
someone said Python sucked because it was slow and not really a programming language, but more of a scripting language.

Python is a scripting language, but it can still be compiled into exe, and it is slow, but it doesn't have to be, it can be speeded up with external C modules like Psyco very easily.

And people often say slower languages, like Python, C# and Java, are bad, but I doubt not many of them can write a program that really requires the power that C and C++ can give.

109
Python is fun.

Code: [Select]
print ', '.join(map(str, sorted([int(raw_input('Number '+str(n+1)+'? ')) for n in range(int(raw_input('How many numbers? ')))])))(Everything is in one line)

First it asks how many numbers to take, and then it asks the numbers and finally prints them in sorted order.

110
DF General Discussion / Re: Future of the Fortress: List of Remaining Items
« on: December 08, 2009, 07:18:55 am »
Quote
  • Explore a few other (very minor) compat issues

I'm not very good at english, so does "compat" mean something, or is this just a typo?

Pages: 1 ... 6 7 [8]