PDA

View Full Version : Comparison to PascalScript



Bad Boy JH
01-23-2011, 07:35 AM
I have a program which I wish to convert to another language, as PascalScript doesn't have all the features I need to create a this program to the standards I want. I was wondering how comparable python is to pascalscript.

Q1. Does it have forms.
Q2. Do functions and procedures work the same way?

Wanted
01-23-2011, 07:46 AM
If you are willing to learn and use python there is no comparison. Pascalscript is ancient, but are you willing to learn?

Not sure why you would write a program in pascalscript. What is this program you are writing?

Nava2
01-23-2011, 08:01 AM
PS is crap... python is awesome. :D

Python has anything you can pretty much think of.. :P

Bad Boy JH
01-23-2011, 11:43 AM
It was one I already wrote for a school project, which I couldn't be bothered learning a new language for. However I want a program which I can show to potential employers as a display of my knowledge.
Yes, I am most certainly willing to learn a language. I have just been accepted (I got the offer last wednesday) to my local university for a Bachelor of Information Technology, starting next year, so any and all knowledge for that would be great.
The program was a board game, which got me 90%+ and I was reasonably impressed. The goal is to introduce a crude AI into the game, and possibly other features, and just generally make it look better.

grats
01-23-2011, 11:50 AM
It was one I already wrote for a school project, which I couldn't be bothered learning a new language for. However I want a program which I can show to potential employers as a display of my knowledge.
Yes, I am most certainly willing to learn a language. I have just been accepted (I got the offer last wednesday) to my local university for a Bachelor of Information Technology, starting next year, so any and all knowledge for that would be great.

Python is a language definitely worth learning

I'd assume eventually it'll over take java.. because of how much "easier" it is to learn

or Jython will

Nava2
01-23-2011, 06:33 PM
Python is a language definitely worth learning

I'd assume eventually it'll over take java.. because of how much "easier" it is to learn

or Jython will

Not to mention the fact that it is less bloated, still cross platform, and suited for just as many applications. :)

Only thing I can think of is java applets.. :(

grats
01-23-2011, 06:42 PM
Not to mention the fact that it is less bloated, still cross platform, and suited for just as many applications. :)

Only thing I can think of is java applets.. :(

I think that's what jython is, I can't go and say much about it since I don't know much...

but I do know everyone wants python / jython to replace java, out with the old in with the new.. python IS cross platform which makes it the perfect replacement.

Bad Boy JH
01-24-2011, 01:01 AM
OK, where is a good place to learn Python then?

Nava2
01-24-2011, 01:32 AM
www.python.org

Best place to start. :)

... Just do not start at .com... Its NSFW. :|

Oh, and jython is Java.. by the way. >.>

E: http://docs.python.org/tutorial/ specifically.

Boreas
01-24-2011, 01:53 AM
These are good if you prefer videos. First is more detailed, second is faster.
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/
http://code.google.com/edu/languages/google-python-class/

zippoxer
03-29-2011, 04:43 PM
I was programming in C#, PHP and Java for years. But now, I see python can replace them all in functionality and overtake them in easiness.

Very simple & powerful language.
You can even call functions from C (which is rarely needed because of the HUGE amount of existing libraries).

i luffs yeww
03-29-2011, 05:07 PM
I was programming in C#, PHP and Java for years. But now, I see python can replace them all in functionality and overtake them in easiness.

Very simple & powerful language.
You can even call functions from C (which is rarely needed because of the HUGE amount of existing libraries).

Although this is a gravedig, this is still a very active topic that should be discussed.

For Simba/SRL's purposes, there are quite a few functions that would need to be C and not Python. Python is much too slow to do most of the finding methods (all of the FindColors etc.).

kitchenrange
03-29-2011, 05:09 PM
www.python.org

Best place to start. :)

... Just do not start at .com... Its NSFW. :|

Oh, and jython is Java.. by the way. >.>

E: http://docs.python.org/tutorial/ specifically.

What do you mean by "Its NSFW"?

Also do you mean that jython is Java with nothing changed? I noticed python.org mentioned that Python had been ported the the JVM.

i luffs yeww
03-29-2011, 05:24 PM
What do you mean by "Its NSFW"?

Also do you mean that jython is Java with nothing changed? I noticed python.org mentioned that Python had been ported the the JVM.

He was saying don't go to "python.com" because it's a porn site. :p http://www.python.org is the actual site.

Jython is essentially just Python that can use Java. So you can do things like import java.swing.* or whatever and use that. Compiles to .class and everything, so you should be able to use Jython with any Java bot already.

Zyt3x
03-29-2011, 05:25 PM
What do you mean by "Its NSFW"?

Also do you mean that jython is Java with nothing changed? I noticed python.org mentioned that Python had been ported the the JVM.NSFW = Not Safe For Work

lordsaturn
03-30-2011, 01:33 AM
Python.com is blank :Z

i luffs yeww
03-30-2011, 02:09 AM
Lol.

The Python program is no longer excepting new affiliates.

The Python program is no longer excepting new affiliates.

It used to be a porn site.

zippoxer
03-30-2011, 06:04 AM
Lol.

The Python program is no longer excepting new affiliates.

The Python program is no longer excepting new affiliates.

It used to be a porn site.

probably python.org payed them to stop embarrassing python's name :P

i luffs yeww
03-30-2011, 06:13 AM
I was pointing out that they say "excepting" instead of "accepting."

BRILLIANT!