Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re:It should be dead (Score 1) 283

A friend of mine, a physics major, is using Python to do his finance math (he secretly prefers Matlab) -- managed to write same exact code in Python, since chaining statements with ;'s is still allowed. All variable names are exactly one letter long, no spaces -- a wall of text margin to margin with no blank lines. His code will be dumpstered the moment he is not available to maintain it.

Comment Re:"Undead" doesn't mean vibrant, though. (Score 2) 283

My senior colleague also does not get it. The thing is, with C-syntax you need braces + indentation. So python halves your work out of the box. In C when indentation and braces are mismatched you read the code one way, but the computer interprets it differently. In Python: fixed.

Comment Re:The Nightmare on WINDOWS(TM) Home Street (Score 1) 186

I see windows boxes at relatives houses and they are all infested with viruses and botnets, their browsers hijacked, mostly not from viruses but from "free" stuff they installed from the internet. By contrast, all the linux machines are pristine. Even two computers in the same household - one Linux and the other one Windows - there is no comparison.

You can downmod me all you want and tell stories how you managed to secure a Windows machine with your ninja IT skills, the average household's computer is like the "house" from TFA.

Comment Python Perl (Score 1) 466

From someone who used Perl for over a decade: as soon as your project evolves beyond a couple of package files Perl degrades into a nightmare. I learned Python from scratch a few months ago and it is easier to code and manage by leaps and bounds. Character encoding and number of existing libraries also shines compared to Perl, even for Python 3

Comment Re:Wrong question (Score 1) 634

FORTRAN and Lisp (and BASIC and C, only somewhat later) made programmers about as productive, within a reasonably small constant factor, as anything since.

I recently switched from C to Python, and my productivity shot up ~100 times. For example, I created a tree of hashes to perform pattern matching on large data sets in linear time. It took me 2 hours from concept to production run. Also factor in a huge library that does everything needed on this planet, ease of maintaining 100x fewer lines of code and 0 memory management hurdles.

The downside is that it runs 100 times slower than C, but since it is the programmer's productivity your are talking about, you are very wrong.

Slashdot Top Deals

Arithmetic is being able to count up to twenty without taking off your shoes. -- Mickey Mouse

Working...