473,748 Members | 4,935 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Had Phyton suggested

Hi

My son like many youngsters been around computers, fast online games, he
acturly for main part learned to read and write ,beside his second language
english , and may I say he is quite good at it age 15 , but as some of you
know, 3D games also offer edditors and script options , or rather
programming choppers and dust clouds in scenes.
Now beside my bad english, my problem is, that I like him to learn decent
programming ------- sure I know the best way to learn is looking at source
code and change a bit here or there to se the actural results, but with his
knowleage about programming he proberly fail to se how functions work and
even he made some quite nice effects in the scenes in "Operation falshpoint
resistance" , I just know that he would profit from learning from buttom up,
a real programming language.
Now from an old friend I been advised Phyton, and as I know a bit about
programming ( Lisp ) , I agrea after checking a few links ; guess Phyton is
very much C++ like ,so investing in his interests programming scenes for
games, could be in his faviour .
Now I agrea that my own knowleage about compilers and more advanced
programming are limited, and my fear is that I will need some sort of C.
compiler causing day's and weeks of trouble setting up ------- or what do
the group think ; my question is, if there today are compilers that is set
up and work as simple as for instance the first Pascal compilers .
Well I agrea that my own trouble programming, never been the actural
programming, but all the silli trouble with compilers, as you se amatures
don't care if the program spend a bit more memmory ,as long as it work and
acturly produce compiled code.
Guess my question is, if it is possible to find a compiler that is fit for
amatures, one that an amature will not have to fight before it is ready to
use. One where you ,as when I learned programming , don't need to be a
compiler specialist before you even learn programming.

P.C.
Jul 18 '05 #1
16 1960
Hi

"P.C." <pe********@pri vat.dk> skrev i en meddelelse
news:40******** *************** @dread11.news.t ele.dk...
Hi


Sorry Python not "Phyton".
Please don't just ansver about wrong spelling.

P.C.
http://home20.inet.tele.dk/h-3d/
Jul 18 '05 #2
P.C. wrote:
Hi

My son like many youngsters been around computers, fast online games, he
acturly for main part learned to read and write ,beside his second language
english , and may I say he is quite good at it age 15 , but as some of you
know, 3D games also offer edditors and script options , or rather
programming choppers and dust clouds in scenes.
Now beside my bad english, my problem is, that I like him to learn decent
programming ------- sure I know the best way to learn is looking at source
code and change a bit here or there to se the actural results, but with his
knowleage about programming he proberly fail to se how functions work and
even he made some quite nice effects in the scenes in "Operation falshpoint
resistance" , I just know that he would profit from learning from buttom up,
a real programming language.
Now from an old friend I been advised Phyton, and as I know a bit about
programming ( Lisp ) , I agrea after checking a few links ; guess Phyton is
very much C++ like ,so investing in his interests programming scenes for
games, could be in his faviour .
Now I agrea that my own knowleage about compilers and more advanced
programming are limited, and my fear is that I will need some sort of C.
compiler causing day's and weeks of trouble setting up ------- or what do
the group think ; my question is, if there today are compilers that is set
up and work as simple as for instance the first Pascal compilers .
Well I agrea that my own trouble programming, never been the actural
programming, but all the silli trouble with compilers, as you se amatures
don't care if the program spend a bit more memmory ,as long as it work and
acturly produce compiled code.
Guess my question is, if it is possible to find a compiler that is fit for
amatures, one that an amature will not have to fight before it is ready to
use. One where you ,as when I learned programming , don't need to be a
compiler specialist before you even learn programming.

P.C.

Python is an interpreted language, not a compiled one. So you don't need
to worry about compilers at all. This makes it a little easier to get
into than compiled languages. I thin python is a very good introduction
to someone who knows nothing about programming.

At the risk of making a lot of python fans angry, I would also suggest
that you look at java. This IS a compiled language (although ironically,
the compiled bytecode is interpreted). I suggest this for a few reasons:
* You cannot really avoid thinking in an object-oriented way when
writing java. I suspect that python will allow you to develop some very
nasyt habits.
* The java tutorial is massive, and has loads of examples.
* I have not seen anything like BlueJ for python. BlueJ is an excellent
beginners IDE with editor, debugger, and a UML-like diagram that shows
how your classes interconnect.

Better, learn a little of both languages.

Steve
Jul 18 '05 #3
djw
Steve Horsley wrote:
P.C. wrote:
Hi

My son like many youngsters been around computers, fast online games, he
acturly for main part learned to read and write ,beside his second
language
english , and may I say he is quite good at it age 15 , but as some
of you
know, 3D games also offer edditors and script options , or rather
programming choppers and dust clouds in scenes.
Now beside my bad english, my problem is, that I like him to learn decent
programming ------- sure I know the best way to learn is looking at
source
code and change a bit here or there to se the actural results, but
with his
knowleage about programming he proberly fail to se how functions work and
even he made some quite nice effects in the scenes in "Operation
falshpoint
resistance" , I just know that he would profit from learning from
buttom up,
a real programming language.
Now from an old friend I been advised Phyton, and as I know a bit about
programming ( Lisp ) , I agrea after checking a few links ; guess
Phyton is
very much C++ like ,so investing in his interests programming scenes for
games, could be in his faviour .
Now I agrea that my own knowleage about compilers and more advanced
programming are limited, and my fear is that I will need some sort of C.
compiler causing day's and weeks of trouble setting up ------- or what do
the group think ; my question is, if there today are compilers that is
set
up and work as simple as for instance the first Pascal compilers .
Well I agrea that my own trouble programming, never been the actural
programming, but all the silli trouble with compilers, as you se amatures
don't care if the program spend a bit more memmory ,as long as it work
and
acturly produce compiled code.
Guess my question is, if it is possible to find a compiler that is fit
for
amatures, one that an amature will not have to fight before it is
ready to
use. One where you ,as when I learned programming , don't need to be a
compiler specialist before you even learn programming.

P.C.

Python is an interpreted language, not a compiled one. So you don't need
to worry about compilers at all. This makes it a little easier to get
into than compiled languages. I thin python is a very good introduction
to someone who knows nothing about programming.

At the risk of making a lot of python fans angry, I would also suggest
that you look at java. This IS a compiled language (although ironically,
the compiled bytecode is interpreted). I suggest this for a few reasons:
* You cannot really avoid thinking in an object-oriented way when
writing java. I suspect that python will allow you to develop some very
nasyt habits.
* The java tutorial is massive, and has loads of examples.
* I have not seen anything like BlueJ for python. BlueJ is an excellent
beginners IDE with editor, debugger, and a UML-like diagram that shows
how your classes interconnect.

Better, learn a little of both languages.

Steve


Angry, no. But I don't think your advice is very sound. First, Python
"compiles" to bytecodes much the way Java does. If Java does anything
different, it is that it can employ a JIT compiler to speed up the
execution of the bytecodes. Second, I disagree that Python will make
someone develop "bad habits". Using object oriented programming is not
the end-all to all the world's problems. Java forces you into this model
at all times, Python doesn't. If anything, I think Java's view of the
world is flawed - sometimes objects aren't the answer to a programming
problem. For a beginner, having to do all your thinking in objects makes
learning the basics harder, in my view. Last, there are plenty of good
(if not great) editors for Python. Pushing an editor that includes
things as UML is not really very productive for a beginner, and it could
be argued it not even very useful for advanced programmers (if your
class hierarchy is s complex that you need (live) UML, you probably have
too complex of a design.) I do agree with your last sentiment, learn
lots of languages, Python, Java, C/C++, etc. and see which one(s) meets
your needs best.

-D

Jul 18 '05 #4
In article <40************ ***********@dre ad11.news.tele. dk>,
P.C. <pe********@pri vat.dk> wrote:

Guess my question is, if it is possible to find a compiler that is fit
for amatures, one that an amature will not have to fight before it is
ready to use. One where you ,as when I learned programming , don't need
to be a compiler specialist before you even learn programming.


Python doesn't use a compiler per se; like Perl, it's an interpreted
language, similar to using a VisualBasic macro in Word (though without
the baggage of Word, of course). If you're using a Windows computer,
just download a copy of Python from http://www.python.org/

If you've got a Linux box, you probably already have Python available.
Try typing "python" at the shell prompt.

Either way, Python is popular among teenagers, and we've had several on
comp.lang.pytho n, including one from the Netherlands. I'm assuming
he'll show up soon and offer to talk to your son directly. ;-)

You'll also want to take a look at
http://www.python.org/topics/learn/non-prog.html
--
Aahz (aa**@pythoncra ft.com) <*> http://www.pythoncraft.com/

"The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code --
not in reams of trivial code that bores the reader to death." --GvR
Jul 18 '05 #5
I think that Python is really the best shioce... I started programming in
Python to make games and soon I started to listen people talking about how
easy and fast it was to create games in Python. Now I'm one of then =) .
Python is an object oriented interpreted language that can be used to do
from the simplest things to the extremely powerfull. The fact that it is
interpreted means that it's really easy to "compile" or run aplication
without extensive knowledge.
In fact when I took my first look at the Python documentation, after a few
hours I was starting to play with code.

If you are interested in looking at game programming with Python take a look
at this site:

www.pygame.org

Regards:

Ricardo

I'm sorry for my bad English but it is not my primary language...
Jul 18 '05 #6
Getting a compiler environment running should be a minor task compared
with the complexity of programming in a modern 3D gaming engine, so that
should not be your biggest fear. And if you choose a 3D gaming engine
with a decent community there are tutorials how to get everything running.

I would start by thinking about what you/your son want to do:
1) starting 3D game development from scratch, e.g. based on OpenGL
2) using an existing 3D gaming engine and code your own stuff
3) using a complete gaming engine (like quake or UT) and doing some
mod(ification) development
4) joining the development team of a complete open source 3D game.

Then - for your selection - start seaching the net - if you did not
choose option 1) the result will quite probably answer your question,
because each existing "environmen t" brings its language/compiler with
it. Too make it more complicated some "environmen ts" provide a
two-leveled architecture, where the "core" is mostly written in C or C++
and the "frame" is written e.g. in python, lua or some other "small"
language (but too my knowledge 3D games usually have - if at all -
propriatary languages for this like QuakeC, "normal" languages are more
typical for RPG); in this case you might choose your favorite
"environmen t" with respect to your favorite "frame" language.

Googling should bring you some interesting results, next to this good
places to start are:
- http://gaming.foundries.sourceforge.net/ (general gaming)
- http://3d.foundries.sourceforge.net/ (3D gaming)
- http://www.planetquake.com/code3arena/ (quake 3 coding)
Jul 18 '05 #7
"P.C." <pe********@pri vat.dk> writes:
Sorry Python not "Phyton".


Not a bad name, actually....des cribes what we do pretty well (not with
each other, of course.)
--
KBK
Jul 18 '05 #8
Steve Horsley wrote:
...

At the risk of making a lot of python fans angry, I would also suggest
that you look at java. This IS a compiled language (although ironically,
the compiled bytecode is interpreted).
Python and Java both compile to byte-code. The only difference is that
Python does it automatically whereas Java requires you to compile manually.

I suggest this for a few reasons: * You cannot really avoid thinking in an object-oriented way when
writing java. I suspect that python will allow you to develop some very
nasyt habits.
I disagree that the opposite of object orientation is "nasty habits."
Forcing every problem into an object oriented paradigm is itself a nasty
(and ultimately confusing) habit.
* The java tutorial is massive, and has loads of examples.
Is it more massive than these:

* http://www.ibiblio.org/obp/thinkCSpy/
* http://diveintopython.org/
* http://www.mindview.net/Books/TIPython
* http://www.python.org/doc/current/tut/tut.html
* http://honors.montana.edu/~jjc/easytut/easytut/

And this one is specifically about game programming:

* http://pygame.org/docs/tut/chimp/ChimpLineByLine.html
* I have not seen anything like BlueJ for python. BlueJ is an excellent
beginners IDE with editor, debugger, and a UML-like diagram that shows
how your classes interconnect.
I haven't tried BlueJ so I can't compare but I don't think an IDE could
make up for Java's flaws as a learning language. "Hello world" in Java
is 7 lines compared to 1 in Python. The Python version has just two
concepts: printing and strings. The Java version brings in three
keywords (class, public, static) a module, an object, a function, two
types, etc.
Better, learn a little of both languages.


Can't disagree with that. Learn Python. Learn Pygame. Write your game.
Then learn Java to have something good to put on your resume.

Paul Prescod

Jul 18 '05 #9
Steve Horsley <sh***@the.moon > writes:
At the risk of making a lot of python fans angry, I would also suggest
that you look at java. This IS a compiled language (although
ironically, the compiled bytecode is interpreted).
Same as Python.

Actually, difference between an interpreter and a compiler is pretty
blurred. Let's see: a compiler compiles to machine code which is
interpreted by the microcode engine in the processor etc. ad infinitum.
I suggest this for a few reasons: * You cannot really avoid thinking
in an object-oriented way when writing java.
This is not an advantage.
I suspect that python will allow you to develop some very nasyt
habits.
For example? Surely you don't mean programming in a functional style
when that is optimal as opposed to always using objects?
* The java tutorial is massive, and has loads of examples.
This is not an advantage. One of the features of Python is how simple
a relatively complete tutorial can be.
* I have not seen anything like BlueJ for python. BlueJ is an
excellent beginners IDE with editor, debugger, and a UML-like
diagram that shows how your classes interconnect.


This is pretty cool. It reminds me a lot of Python's IDLE in its
approach and target audience. BlueJ's debugger is slightly more
capable than IDLE's is, and IDLE doesn't have the UML representation
of classes (though there is Bicycle Repair Man) which is deeply
integrated into BlueJ.

I'll be looking more closely at this; thanks for the reference!
--
KBK
Jul 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1475
by: mr. ice | last post by:
Hi Phyton guru out there, I am looking for a tools to translate some code written in c++ to phyton. I understand there may not be a perfect match but any suggestion is welcome. mr. Ice
1
1701
by: George Hester | last post by:
At the time this suggestion was made I didn't have the wherewithall to even attempt it. But over time I learned enough to make a stab at it. Let just say the foating DIV had to provide the same advantages as a chromeless window else it really wouldn''t help. You see the idea is that the chromeless window forces a client to make a choice. It cannot be closed until a choice is made. If the user decides not to allow the chromeless window to...
2
1694
by: Pavils Jurjans | last post by:
Hello, I have a fairly complex project with server-side written in C# (.NET), and client-side heavily relying on the presence on JavaScript-compatible scripting engine. One of the features thie project utilizes is "virtual POST", ie, client side submits the data to the server side, using Microsoft.XMLHTTP ActiveX Object (in MSIE), or XMLHttpRequest class in Mozilla, and when the server returns reply, processes it in client side to run...
3
984
by: Mario Novado | last post by:
Lately I came to know that Microsoft is suggesting to go with underscore for naming convention for variables (Am I right?). Ex: Dim strMyName as String ---> Dim str_MyName as String Any one has any comments. Am I talking some thing does not makes sense. If you have any URL which tells the Microsoft suggested way on coding standard please share with me. Thank you very much.
8
1432
by: Rennie deGraaf | last post by:
From time to time, I need to define a class that isn't part of the public API of whatever library or module that I'm developing, but still needs to be in the header file because it's used by some class that is in the public API. In Java, I'd use something like /package/ visiblity on such classes within the package I'm developing, and use /public/ visibilty on classes in the public API. In C++, the best I've been able to come up with is...
0
1383
by: HansvL | last post by:
aspnet_regiis.exe /i /e does not work as suggested by the setup.bat in the WSE3.0 samples directory. -- Greetings HansvL
0
937
by: Gerard Flanagan | last post by:
For anyone interested, here's a blog entry I've added over at the Tutorial Wiki: ---------------------------------------- As mentioned by effbot in the previous post I've put together a suggested alternative factoring of the Tutorial here(http://pytut.infogami.com/gerard_refactor). At the minute it just amounts to a carving-up of the existing material into two sections: beginners and intermediate. It's a bit stilted in places, but not...
11
1910
by: gslm | last post by:
Hi! I'm too new on phyton.I have installed phyton.But when I write phyton command, unfortunately, i can't run.I suppose that it is bacause of setting path.But i can't solve. Can you help? Another thing is, when i double click the .py file, there are the project form and the command line.How can i provide to view only the project? Thanks...
11
1965
jhowells28
by: jhowells28 | last post by:
I have a subform for data entry purposes and I would like to populate a text box with a "suggested" value that will be pulled from a related table. I say "suggested" because the information stored in the related table is 90% accurate, but is not always correct. It would be pulling in the Product ID associated with a Purchase Order ID. If the Product ID pulled in is incorrect, however, I would like to be able to override it. I am using...
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9541
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9321
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9247
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4602
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.