Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Did he already heard about integrated debugger (Score 1) 586

Ugh, as always happens I poorly phrase the first sentence of my post and everyone jumps on it. I wasn't saying debuggers are bad, or at least wasn't trying to - just that in Java, the standard library has a tendency to return null when something goes wrong rather than throw an exception, which means you don't get told about the cause of the issue, just when it shows up later as a null pointer exception. This can lead to using the debugger a lot or looking through the code to track it down. I hope that clarifies my point.

I agree that APIs should avoid returning null wherever it is reasonable to do so, and that the standard Java library is not perfect. However, I am darn glad the standard Java library is as comprehensive as it is. It saves me a lot of time having to hunt down third party libraries that may or may not be affordable, or may or may not have licensing terms that I can accept.

I think Python is much worse in its "anything can throw an exception at any time" design, and I am glad I don't have to use it very much anymore.

Comment Re:100% (Score 1) 586

That really isn't true. Typing bugs show up with even the most trivial testing. I have written nontrivial stuff with Python, and it works fine as long as you have sane design.

Unit tests rarely, if ever, have 100% coverage.

It is the lazy programmer that uses dynamic typing so he can write less source code. Do the right thing by your users: write the extra (statically typed) code so your programs are more robust.

Plus, as I mentioned, it then allows for easy refactoring, to help keep your code base sane even after it has grown large and you realize some of your design decisions were wrong. And that happens in every nontrivial project, unless you are claiming you have some kind of super human design and coding ability.

Comment Re:Did he already heard about integrated debugger (Score 1) 586

I would argue needing a debugger is also a sign of language flaws. Debuggers help you find issues with your code while it runs. I've found that so much of the time those kind of issues are from stuff like Null objects - where you get an exception from a null object and then have to crawl up your code finding out where it came from. If the language was sane and threw exceptions on problems rather than returning null, there would be far less issues.

Not saying that debuggers are useless or that every problem a debugger is useful for could be solved, just that if you find yourself needing it often, maybe it's a sign something is going wrong with the language.

Did you even bother to try to understand what he said before you replied with your nonsense?

Here, let me help you: he uses the debugger and dynamic class loading as a REPL.

Comment Re:100% (Score 1) 586

If you have ever written code in Python, you realise how much trivial stuff you have to do in Java which is hell without an IDE. I'm not saying IDEs are useless, they are great and can do awesome stuff for a developer, but Java has a serious problem where it's practically unusable without a massive IDE.

And if you have ever written something nontrivial in Python, you realize how much it sucks because you cannot refactor it easily, and too many dynamic typing bugs are left for you to discover (possibly at the customer site) at run time rather than compile time.

With all due respect to the article's author, he makes baseless assertion after baseless assertion. He is just another irrational Java hater.

Comment Re:Just greed. (Score 2) 768

Pushing to make Linux a viable platform is good for everyone.

I agree, but I cannot help but think it is a long shot:

  1. * Valve creating a Steam client for Linux is one thing, getting game makers to make games for Linux is another, especially when desktop Linux has such a tiny market share. It is a tough catch-22.
  2. * AMD, nVidia, and Intel graphics drivers need to perform well and be taken seriously by all three companies. Right now, they are often questionably supported and of questionable quality.
  3. * I have heard complaints about the Linux kernel folks not taking things like graphics drivers seriously enough, and changing APIs and such, making the job harder for people writing graphics drivers. I'm not sure of the accuracy of those claims, so someone may want to chime in with more information.
  4. * For which distro(s) would the Steam client run on Linux? Can it be made generic? If not, will it only run on Ubuntu? Ubuntu is a for-profit company that sometimes makes...interesting...moves in an attempt to make desktop Ubuntu profitable. Are they trustworthy, or could we just get ourselves into another Microsoft-esque situation?
  5. * Most PCs still come pre-loaded with Windows. Microsoft can duplicate the functionality that Steam offers, and because Windows is pre-loaded on most PCs, most people won't bother trying Linux.

I really, really would love Linux-on-the-desktop to become a more viable, more popular platform, but it seems like such a long shot...

Comment Re:Kinda Subjective but... (Score 2) 479

And when you use tabs, it doesn't matter what tab size they assume. That is the point. Proper use of tabs means you use tabs to indent to the block level and spaces for further indentation, like so: { <-tab->a = long expression <-tab->____continued; }

...where underscores are spaces, because Slashdot messes with spaces, even in <code> sections.

It does matter, because some tools that are hard coded to 8 space tabs make things hard to read, like side by side diffs.

Also, I have used editors, like the AS/400 editor SEU, which displays a single inverse block character for tabs. It was pretty much impossible for me to maintain that code until I converted the project from tabs to spaces.

Comment 32 GB != 32 GB (Score 1) 357

The problem with comparing the 32 GB Surface to the 32 GB iPad is that you also need to factor in how much space Windows 8 RT takes compared to iOS. My understanding is that iOS takes considerably less space.

Also, some of us are not interested in Office.

In addition, some of us are not interested in beta testing a 1.0 product that costs, at a minimum, $500. Waiting until at least version 2.0 seems wise.

Plus, let's wait to see how Windows 8 RT performs in the real world. iPad performance is already a known quantity.

Comment Re:Just say NO! (Score 2) 467

It's too bad this happened, but perhaps it will convince some people to simply not use Facebook. Facebook's habit of raping users' privacy shouldn't be a surprise to anyone who uses a computer - they've done it many times, and it's been big news.

Facebook is evil to the core. They've had countless "oops, I did it again" moments. Zuckerberg himself considers Facebook users idiots for trusting him. They raped investors with their IPO. They continue to "oops" and it has very serious consequences on a lot of people's lives.

Nobody should be using Facebook.

Nobody.

Comment Re:I hate those types of physicists (Score 5, Insightful) 529

They never pass the joint around :(

Ha, like any other physicists are any more sane!

Current popular thinking among physicists is that the universe itself does not know the exact location and momentum of fundamental matter.

The Copenhagen interpretation of quantum mechanics tells us that the universe has a true random component. No, not pseudo-random. True random.

The many-words interpretation of quantum mechanics tells us there are obscene numbers of universes that exist, because the universe creates perfect copies of itself every time a quantum decision is made, except for the quantum decision itself being different in each copy. And those universes split, and those do, and those do...

Various tests tell us photons are waves. No, particles. No, both! And electrons too! And more!

Go read up on quantum entanglement if you have not yet believed in enough impossible things before breakfast yet.

Chuckle at the simulation argument all you want, but it's just as sane and likely as these other crazy, wild things. No, scratch that. The simulation argument is far more sane.

Physicists aren't smoking dope...they're all tripping on LSD!

Slashdot Top Deals

Remember, UNIX spelled backwards is XINU. -- Mt.

Working...