Become a fan of Slashdot on Facebook


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Comment Re:Focus your attention elsewhere (Score 1) 396

This... definitely this. You generally cannot test your own work. You have too many assumption about how it works.

What developers SHOULD do is unit testing. One way to make this more bearable is to "code to the test". First create the unit tests which will prove your code does what it is supposed to.. then code until the tests pass. It's more like a game this way.


Submission + - StackExchange compiler design site (

Binder writes: StackExchange is proposing a compiler design site but they need more people to commit.

Proposed Q&A site for those wanting to discuss language design or create a compiler/interpreter using existing tools or from scratch.

Comment Learn the fundamentals. (Score 1) 293

Go get Algorithms in Java and implement the algorithms. Not only will you learn about algorithms but simple tasks like this teach you a lot about coding that you can't learn from a book. That would be things like testing, and debugging.

Next implement something!
Good beginner projects are conway's game of life.
Tetris or breakout.

You can also go to one of the programming challenge websites and start working through their problems.

Then you really need to find a project that you want to implement. If not that at least an open source project that you can contribute to.

Comment Statistics may or may not = math (Score 1) 572

Statistics in it's purest sense is simply math. Very few people know very much about this.

Statistics in the wild is generally bullshit! You should not be able to get two equally qualified people the same data set and receive two different answers!

As for statistics for performance measurement? If you are doing something important than analyze worst case performance. Statistics doesn't come into play in this case.

Comment Re:Algorithms (Score 1) 836

The issue is more like this.
If you don't know what a splay tree is you will never know when to use one. It's a problem of not knowing what you don't know. It is very rare that you will need a datastructure and then go find one. You will use the tools you have to solve the problems in front of you.

Comment Re:Curse of binary floating point (Score 1) 626

This is why writing software is more than simply learning a language. You also have to learn how the machine works.

Also, this isn't a problem with binary representation. You have the same issue with decimal representation. Try dividing 10/3 and then performing a bunch of math on it.

Submission + - Progress?

Binder writes: Thought questions:
In any real terms is putting someone on the moon today any easier than it was in the 1970's?

Slashdot Top Deals

"When the going gets tough, the tough get empirical." -- Jon Carroll