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

 



Forgot your password?
typodupeerror
×

Comment Re:Different markets... (Score 1) 458

A hackintosh is maybe nice for a hobby but I use my computer to make money so I rather buy the real think instead of having to wonder if I have to start my day with tweaking my computer before I can get work done. It's also one reason why I currently run Linux in Parallels (and not VirtualBox).

Comment Maybe a better reason for the plateau (Score 4, Insightful) 307

Is that they don't become obsolete as fast? My mother still uses a iPad 2. I sold my iPad 4th generation to my wife's cousin, and she and I now both have an iPad Air 2. And to be honest, I just sold mine because I could, not because I needed to upgrade to the Air 2. I think the iPad 4th gen I sold will be OK for at least 2 more years. And it wouldn't surprise me if it will get an iOS 9 update. Moreover, it wouldn't surprise me if it will get an iOS 10 update as well.

Comment Re:Who supports it (Score 1) 60

Yup. Before Python Pascal was thought of as the language that was extremely readable; it was nearly like programming in pseudo code (hah, it was actually that a cleaner version of Pascal was used in several textbooks on algorithms). However, years ago when I had to port Pascal to Perl (no, I am not making this up) I came upon hundreds of lines of very hard to read code. After some careful study I discovered that someone had coded bubble sort (in a very weird, long winded way) with a separate piece of code to reverse the sort order. Basically sort { $b cmp $a } @items ...

My point is that how readable code is has also a lot to do if the implementation of an algorithm follows the expectations of the person reading the code. And (also) in Python there are many ways (really) to solve the same problem, including very unreadable ways.

I do agree that Perl has a lot of "line noise" like $, @, %, etc. but that's not that different from learning a language with a non-Latin alphabet (e.g. Hindi, which uses Devanagari). After a very short while (in my experience) those weird symbols become second nature and actually help with reading (they are there for a reason). It's even more fun when one of the major complains about Python is lack of some line noise; the use of significant white space instead of {} ...

Finally, while I have been doing some Python programming I am not attracted to the language. I don't know why I am attracted to Perl (and no, it's not because I am brainwashed by Perl). I think it's for the same reason that I consider Devanagari a very nice script. And why I am currently learning Haskell ;-)

Comment Re:Who supports it (Score 2) 60

Perl has OO for longer than 7-8 years. Perl is not harder to read/write than Python. Hard to read code can be written in any language, including Python. And yes, one can argue that Perl makes it easier to write hard to read code, but why would one do this? Last but not least a lot of hard to read Perl is the result of cargo cult coding; too many people back in the mid-90's thought: "Oh, I know this, it's just another programming language". Heh.

Comment Re:If you don't want to upgrade your box (Score 1) 100

Yeah, walled garden, right. You are aware that OS X is just *BSD under the hood, right? Moreover, one can run Parallels on top of OS X. I am currently typing this in a full screen Ubuntu 14.10 session in Parallels on a Mac mini. My first impression of this little beast: why didn't I buy one years sooner. It's silent. It just works, out of the box. And so far it runs Ubuntu fantastic! And with one four finger swipe I am in the OS X desktop.

Apple out of business within 5 years? Right, that's about the same time we finally have Linux on the desktop, right?

Comment Re:Age prior to dyine (Score 2) 115

If we look again at the estimated maximum life expectancy for prehistoric humans, which is 35 years, we can see that this does not mean that the average person living at this time died at the age of 35. Rather, it means that for every child that died in infancy, another person might have lived to be 70. The life expectancy statistic is, therefore, a deeply flawed way to think about the quality of life of our ancient ancestors.

source: http://www.ancient-origins.net...

Slashdot Top Deals

Scientists will study your brain to learn more about your distant cousin, Man.

Working...