Well except I refuse to learn C#.Heh.
posted by octothorpe at 7:56 AM on June 10 [+] [!]
My problem with Java is that I've seen it spewing in millions of fragile, terribly-engineered lines from the fingertips of n00bs for a decadeWhat does that have to do with the language? Python is even more n00b friendly and eventually tons of garbage code will be written in it too. It's easier to use then C++, which it slowly replaced. I assume you hate C and C++ too because people wrote bad programs in them?
That and it's overly-verbose and dogmatic Everything Must An Object Even Things That Aren't Objects philosophy. Don't even get me started on Java + XML. Double ugh.First of all, java has both objects and primitives. One of the biggest complaints from people who don't actually use it is that primitives aren't objects so you have to use separate containers for them, although they recently added auto-boxing so you can have collections of doubles and stuff. And functions aren't objects either, obviously.
Huh, we use threaded Python natively without any Java crap involved. Works fine.The threads will run, but but only one at a time, which is fine if you just need to do file/network IO but not that helpful if you actually need to speed things up. If you have a lot of low-cohesion tasks (like serving web pages) then you can run a bunch of instances of the interpreter, but that won't help you if you need shared memory 'traditional' threading (as far as I know)
Writing the simplest possible system, then writing the simplest possible patch to it is exactly how people end up with the convoluted monstrosities you're complaining about.
1) Build the simplest thing that works.
2) In the future, if you find it no longer works, goto 1.
No, DU has it right as far as I'm concerned. The convoluted monstrosities in question here are over-designed, overly-general systems that try to solve every possible future problem in the most efficient way,It depends on what you looking at. But there are definitely hacked together kludges upon kludges.
If I'm reading this correctly these are identical instances of the same object, in other words coded identically. To make it truly less than useless & move it into territory thats actually dangerous you'd need to make multiple implementations of the same object, perhaps selected by a random number generator. That way you'd never know if you're getting the better coded one or the one that leaks memory, handles errors poorly & breaks on bad input.Well, that's the thing. If you only have one implementation, then a programming mistake will make all instances crash. So what you do is write an interface specification, then hire a bunch of outsourced programmers from randomly selected countries to implement them. You pick an implementation at random, and that way just like genetic diversity helps populations your program will be less likely to crash!
« Older Omar Rodríguez López of Mars Volta fam... | Seth Roland does amazing thing... Newer »
This thread has been archived and is closed to new comments
posted by surrendering monkey at 3:27 AM on June 10, 2010