Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Python != web (Score 1) 164

Comment "Doing Python you're shortchanging yourself" (Score 2) 164

Could explain why using Python I'm shortchanging myself? I've used Python to create webapps, ETL pipelines in clusters, desktop applications, image processing applications, large dataset statistic analysis, system administration scripts, small one-off scripts, running MapReduce and even some silly 2d platformer games. Also, I know that it can be used for a fair amount of other things. What have you found that you couldn't do in Python that you could in Ruby, or that is much better in Ruby over Python?

Comment Re:Logically Logical Logic (Score 1) 510

I totally agree, but I also acknowledge that there are sometimes that you've just hit the ceiling regarding algorithmic improvements, and you just have to start tweaking against your platform/environment. Then again, most people can go through their entire careers never facing this issue. Most task are algorithm bound.

Comment Re:007087 (Score 3, Informative) 510

As most things in life do, code usually follows the Pareto distribution: 80% of the time is spend in 20% of the code. If Python is fast enough for, let's say 90% of your code, and you are much more productive in Python than C, then writing most all the code in Python first, and replacing the bits and pieces that are too slow for you with C functions, is much more efficient use of your time than writing everything in C.

Also consider that sometimes you have to go in fishing expeditions for the correct algorithm to do what you are doing. Doing so in Python, with the speedup in iterative design that that carries, and even if that once you find the most efficient algorithm for your problem you implement it in C, you will have had spend the same time as before, but knowing all the ways you can't do it, and have arrived to an at least nearly optimal solution.

Most of the time you don't need that much speed. When you do, you have to have the right algorithm and the right language. I also put forth that Python has a lot of modules that are already written in C, so you take advantage of existing optimized code that you don't have to write.

Comment Re:And in the winter... (Score 5, Funny) 274

Skinner: Well, I was wrong. The lizards are a godsend.
Lisa: But isn't that a bit short-sighted? What happens when we're overrun by lizards?
Skinner: No problem. We simply release wave after wave of Chinese needle snakes. They'll wipe out the lizards.
Lisa: But aren't the snakes even worse?
Skinner: Yes, but we're prepared for that. We've lined up a fabulous type of gorilla that thrives on snake meat.
Lisa: But then we're stuck with gorillas!
Skinner: No, that's the beautiful part. When wintertime rolls around, the gorillas simply freeze to death.

http://www.snpp.com/episodes/5F22 Bart the mother

Comment Re:Try to get a real engineer as mentor (Score 1) 446

Engineer:

An engineer is a professional practitioner of engineering, concerned with applying scientific knowledge, mathematics and ingenuity to develop solutions for technical problems. Engineers design materials, structures, machines and systems while considering the limitations imposed by practicality, safety and cost. The word engineer is derived from the Latin roots ingeniare ("to contrive, devise") and ingenium ("cleverness").

In the US and Canada, engineering is defined as a regulated profession whose practice and practitioners are licensed and governed by law.

Engineering:

the creative application of scientific principles to design or develop structures, machines, apparatus, or manufacturing processes, or works utilizing them singly or in combination; or to construct or operate the same with full cognizance of their design; or to forecast their behavior under specific operating conditions; all as respects an intended function, economics of operation and safety to life and property.

One who practices engineering is called an engineer, and those licensed to do so may have more formal designations such as Professional Engineer, Chartered Engineer, Incorporated Engineer, Ingenieur or European Engineer. The broad discipline of engineering encompasses a range of more specialized sub disciplines, each with a more specific emphasis on certain fields of application and particular areas of technology.

So to be an engineer, you have to practice engineering. Whether you can call yourself that way only if you are recognized as such by the state, depends on the laws governing both the discipline and the country you are in.

Slashdot Top Deals

Many people are unenthusiastic about their work.

Working...