Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment Re: Ummmm.... (Score 1) 319

Agreed. What gets forgotten in the debate is that Java is a reference implementation of all true OOP constructs: Interface Abstract Class Class Which when applied judiciously, allow u to do things like inversion of control, dependency injection and test driven development in a strongly-typed environment, and this strongly-typed nature, when properly embraced, makes it easier to write software which you can refactor as often as you desire with orders of magnitude less risk than with "fsck-all-typed" languages like ruby or JavaScript. So, if your application does little more than pushing data into and reading data from some storage engine, then okay, JavaScript is an okay choice. If your application is growing into having significant business logic, then JavaScript will turn into thousands of lines of spaghetti untraceable closure hell , whereby each refactoring attempt will almost certainly have catastrophic consequences in production down some obscure execution path in some anonymous callback function you couldn't be bothered unit testing because how the fsck do you write a unit test against that anonymous function? There's not a concept of a Class in JavaScript. Sure you can mimmick inheritance patterns with prototypes with albeit some unintended consequences (hasOwnProperry) and encapsulated properties by having your closures reference variables from their enclosing context etc, but those techniques are what i call "expressively contrived" Strongly-typed OOP languages have very-well established tried and true patterns for writing test-driven code Ruby while not strongly typed, at least has a concept of Class/methods/inheritance/polymorphism . Problem with Ruby is as i am writing things TDD in it, the first half of my tests are there to ensure that my methods behave correctly when i pass them arguments of the wrong types, and my methods are littered with lines of code ensuring that my arguments have the expected properties. Totally retarded. And Ruby doesn't know anything about an Interface, but that's okay because it's got "fsck-all-typing" so it's not like you would even try to enforce modicums of contracts. Anyway, as applications grow in complexity, building things TDD in strongly-typed OOP languages leads to more fun, and frequent refactoring which makes ur code more stable instead of more brittle. I've written a crap ton of JS code. Java code too. And PHP. And a minimal amount of Ruby: I've appreciated their strengths. And drawbacks. Feel free to learn the same thing I have the hard way: this panacea mentality to stacks is just one big circle jerk. If you think JS, in its current form, is the only true way to build web applications, then by all means, keep that head firmly planted in the sand while the rest of the World out innovates you with a blend of languages and platforms best-suited for their use-cases.

Ubuntu, Macintosh and Windows XP 641

LXer has an interesting look at the big three operating systems with some surprising results. From the article: "If you think that a Linux advocate cannot make an objective analysis of desktop operating systems, then you need to read this report. You may find yourself surprised with some brutal honesty that leaves out the free software philosophy."

Call for Apple Security 'Czar' 254

conq writes "The second security non-incident to hit the Mac platform in as many weeks has been debunked. People are talking a lot about security on the Mac these days, and the result is that a great deal of FUD is being spread around. BusinessWeek's latest Byte of The Apple column suggests that its time for Apple to appoint a security Czar to get out ahead of the FUD before it spreads much more." From the article: "Creating a CSO position may be viewed by some as an admission of weakness. Still, I say it would be a good way for Apple to inoculate itself against the perception -- warranted or not -- that Mac security may be eroding, and get ahead of the curve for any troubles that may be inevitable. That may not be the case, but in matters related to product marketing, it's the public perception, not the reality that really matters. And once you've lost a user's confidence, it's hard to get it back. Just ask Microsoft."
User Journal

Journal Journal: Friends: mod me up, if you can/care to!

I just posted this comment to the "fave political blog" thread. I'm in no way affiliated with Jeff Jarvis. I just stumbled upon his site once, and I think Jeff has important messages to share, and is contributing in his own way to make this world a better place by encouraging the blogosphere to partake in intelligent debate.

User Journal

Journal Journal: I have blog!

So I started blogging a couple of months ago. Thru blogger.com. I've set-up audioblogging with audioblogger.com and pic blogging with flickr.com, all cool services.

feel free to go see Chris Holland's Web Log. heh.

sorry for t3h plug! but if u dig in there u might find something arguably funny or interesting to read. or not. :o

User Journal

Journal Journal: arrived home. heh. 4

well i finally made it home. they still had security concerns so at Charles De Gaulle Airport, all passengers got some extra love right before entering the plane: all carry-ons were, AGAIN, thoroughly screened, and everyone, AGAIN, got thoroughly searched. The process of searching everyone prior to boarding delayed the flight departure by 1 1/2 hour. heh.

User Journal

Journal Journal: air france flight 68 - my fscking luck. 6

so ... i recently learned about Air France cancelling flights from Paris to L.A. on dec 24th and today dec 25th ... called them earlier tonight ... they haven't heard of any flights being cancelled beyond today so far, i'm flying on this very flight saturday dec 27th so i should be good, the chick told me to call again in the morning (26th) to

Movies

Journal Journal: wiping your arse with silk - text + translation 1

I snagged the Matrix DVD. Now i get a chance to finally write-down what Lambert Wilson says. Here goes:

nom de dieu de putain de bordel de merde de saloperie de connard d'encule' d'ta mere.

which might be translated to something along the lines of:

God damn whore shit bitch asshole motherfucker.

Slashdot Top Deals

Pound for pound, the amoeba is the most vicious animal on earth.

Working...