vPython language

<p>One of the physics instructors in my (community) college insist on putting vPython in his curriculum...I'm just wondering whether vPython is a commonly used language for engineering?
In general or just certain disciplines of engineering?</p>

<p>python is used really in gaming. I could not see it being used for engineering (I made 2 games with python so I have experience) just because it is so plain and nothing great.</p>

<p>I've used python in high school comp sci. We also used it for fun after the ap test in AP comp sci A/B. I've never heard of it being used in engineering though...</p>

<p>Begging to differ. I'm not a programmer myself, but my brother taught a course at Mudd in Python programming for engineers. From the one lecture I attended, it seemed very relevant to engineers. I'll talk with my brother if he comes online later and ask him for some detailed arguments.</p>

<p>Basically, from what I understand, it's a very clean language that's strong in object-oriented programming. One of these days, I'm going to write design modules using OOP for all the things in my job that are boring and tedious, and I shall be rich and intellectually satisfied.</p>

<p>i have a friend who says he's using python almost exclusively in his job and told me anyone will land a job if he or she learns python before graduation because it's so widely used...</p>

<p>well, he wasn't working as an engineer, but i guess it's widely used in other industries.</p>

<p>aibarr:
Why is Python a particularly good language for engineers to learn?</p>

<p>aibarr's brother:
Because it's very simple to do simple things, and more importantly, the available libraries, things that are already done for you, are extensive and of very high quality.</p>

<p>aibarr:
What is it about the language that's allowed all these tools to develop? Just the simplicity of it?</p>

<p>aibarr's brother:
More or less. It's also pretty self-sustaining now. It's easy to write for, and the code is very very clean. Good Python code reads like pseudocode. You shouldn't need to know the language to read the code.</p>

<p>aibarr:
Cool. Thanks.</p>

<p>First, the guy is teaching physics, not programming, so he definitely wants something simple... And there are extensive libraries for MATLAB, Sage, Octave, bla bla bla in python.</p>

<p>Other than that, I really, really, really doubt hardcore engineers would ever use python for anything that's not a half an hour project.</p>

<p>the course's name is engineering physics but yeah...
So would you recommend C++ over vPython?</p>

<p>its used a lot in bioinformatics</p>

<p>In linux, writing programs in python seems to be all the rage these days. Its pretty versatile, looks and feels like C (sort of), and it can do a lot. And I think it has good cross-platform capabilities too. Sort of like Java, but not as much of a memory hog, as well.</p>

<p>I just really looked at what vPython was; it's python with an extremely simple and basic 2D/3D library. Now about recommending C/C++ over this ... you should always learn C/C++.</p>

<p>
[quote]
Use in Classrooms</p>

<p>Students in introductory physics courses have been using VPython to do computer modeling. VPython lets students focus on the physics computations without having to write explicit graphics statements yet obtain 3D visualization. Students can do true vector computations, which improves their understanding of the utility of vectors and vector notation.

[/quote]
</p>

<p>python is actually compiled into c, you just don't have to deal with a lot of the stuff that is necessary with c (like trash). and its a pretty easy language to learn, so its a good choice if programming isn't the main focus of the class. </p>

<p>there are a lot of really interesting modules in regular old python. I used python in a class examining and creating social networks.</p>