Slashdot is powered by your submissions, so send in your scoop


Forgot your password?

Comment Re:Design Patterns (Score 1) 517

Design patterns are needed by those who can read, but can't write. To write code you need to be able to ... write.

I really have to question one's programming skills when they state something like this (I would almost think that one that says this would also say that there is no reason to do any requirements or design before actually beginning the coding). No matter what you are writing, you are coming up with design patterns all of the time. You might not be writing as elegant solutions as "The Gang of Four" did, but you are still coming up with re-usable bits of code that solve problems in a specific domain. Design patters are simply solutions to design problems that are found to be reoccurring. I think that some people come across bad uses of the patterns and assume that all uses are bad.

Comment Re:Design Patterns (Score 1) 517

To become decent developer, you have to be able to figure out solution to problems yourself without consulting books.

A decent developer will refuse to refer to a book for help in solving a problem class that has been solved many times over. A great programmer will remember what he/she read in a book a while back about what to look for and how to reduce efforts. That book will not give you any answers to your problems that you will be able to cut-and-paste, rather it will give you the tools necessary to become a more competent programmer. There is more to writing good code besides knowing what the syntax of a language is.

On flip side, the only effect of design pattern application I have seen is exponential growth of code base size: piles of crap code doing nothing else but implementing the patterns, instead of actually solving the problem at hand.

I'm sorry that you have come across someone's bad code. Have you ever seen a bad implementation of a sorting algorithm and said this is so bad, and refuse to ever use that algorithm again? Just because you came across a bad use of something, does not mean that it is bad.

Comment Re:Design Patterns (Score 1, Informative) 517

I have to agree (it is the "gang of four"). Even if people say that patterns are overused, they are necessary if you want to reduce current and future estimates.

While working on my Master of Science degree, this book was probably the most useful book that I had to read. I applied the concepts instantly to my work, which allowed us to take on much larger projects and increase profit margins.

I should also state that it is very easy to read and has great examples to show the concept. This is really a must read for any individual who is writing software.

Comment Sweet!! (Score 2, Informative) 308

Now a whole new generation of kids can have great enjoyment from the Nintendo. It's kind of like a console hand-me down of sorts lol.

According to the article it is a knock-off device that one of the students found in India on the streets for $12. Adding the Internet access and other necessary componenets most likely will not hike up the price over the OLPC.

If someone finds the company that makes those devices, I want to buy in. This could take off.

Slashdot Top Deals

The two most common things in the Universe are hydrogen and stupidity. -- Harlan Ellison