<pedrocorreia.net ⁄>
 

<Do algorithms still matter? ⁄ >




clicks: 3055 3055 2006-10-31 2006-10-31 goto misc myNews misc  Bookmark This Bookmark This


I attended the BCS Mini-SPA event a few months back.

The premise of the mini SPA is as follows:

"If you attended SPA2006 you might find that the miniSPA2006 programme allows you to catch up with sessions you didn't select at the event.
...
The annual SPA conference (formerly known as OT) is where IT practitioners gather to reflect, exchange ideas and learn."


It also served as a convenient advert for next year's full SPA event.
It was also free, had a free lunch and got me out of the office for a day, so it pretty much fulfilled all my criteria.

The structure of the day was 6 sessions, divided into two parallel streams.
I attended "Distributed workforces", "Modelling with Views" and "A Good Read" but the one that really interested me was "A Good Read".
This was a panel of five people who had each proposed a book to discuss. Each member of the panel then read each book so they could discuss it and give their views and insights.

The really interesting part for me was that someone proposed Programming Pearls by Jon Bentley.
I've owned a copy of this book for years but have yet to finish it, (it's back on my "to read" list now though).
Everybody roundly praised the book but one of the members of the panel questioned whether we needed to know that level of detail when it comes to coding efficient algorithms - "wouldn't it be simpler to throw more CPU and RAM at a problem?" they said.
Someone in the audience then countered that algorithm efficiency was relevant once again when programming Web-apps. They said something along the lines of "Wait until 100 people hit that page on your site".
Sadly the session ran out of time at that point so no conclusion was reached.

My own belief is that you do need to know code at that level, especially if you write Web sites or other similar client/server apps with many concurrent client requests.
I'm not saying everyone should know the Quicksort algorithm inside out, but if you program in Java (for example) you should know the difference between a Vector, an ArrayList and a plain old array and when to use each.

I have had personal experience of a badly written for loop bringing down a Web site on launch day.
The for loop in itself wasn't the worst code ever written by any means, but it was probably executed 30 to 40 times per individual home page hit.
Multiply that by a few dozen concurrent hits (it was a busy site) and any flaws in that code were mercilessly exposed.
Embarrassingly for me, it was my code. Oops.



este é só um excerto do artigo, para aceder ao artigo completo, clique no link em baixo:
this is just a small excerpt from the article, to access the full article please click in the link below:

http://boncey.org/2006_10_29_do_algorithms_still_matter




Subscribe News RSS  Subscribe News Updates by E-mail





myNews <myNews show="rand" cat="misc" ⁄>

Adobe Photoshop CS6: Improvements for Web and UI Designers new ...

Photoshop CS6 has been hailed as a huge improvement for web and UI designers. I'm going to share wit (...)

clicks: 15965 15965 2012-05-14 2012-05-14 goto url (new window) webdesign.tutsp... goto myNews misc


Camera Exposure Modes Explained new ...

If you're just getting started with photography, the letters on your camera's dial might feel like h (...)

clicks: 13975 13975 2012-05-13 2012-05-13 goto url (new window) photo.tutsplus.... goto myNews misc


45 Fresh Collection of High Quality Free PSD Files new ...

What else can be so great for a designer than finding out high quality Photoshop PSD files? This is (...)

clicks: 8539 8539 2012-05-09 2012-05-09 goto url (new window) smashingapps.co... goto myNews misc


15 Free High Quality ToolTip PSD's new ...

A tooltip or infotip can be defined as a graphical hint that is incorporated with the website design (...)

clicks: 10114 10114 2012-05-07 2012-05-07 goto url (new window) smashingapps.co... goto myNews misc


40+ Elegant Examples of River Photography

River photography is one of the beautiful type of photography, photographers take pleasure in this w (...)

clicks: 6024 6024 2012-05-04 2012-05-04 goto url (new window) smashingbuzz.co... goto myNews misc


40 Fresh And High Quality Free Icon Sets In PSD Format

Here is yet another exciting collection of high quality Free Icon PSD files for the designers that t (...)

clicks: 6723 6723 2012-02-19 2012-02-19 goto url (new window) smashingapps.co... goto myNews misc


15 jQuery Calendar Date Picker Plugins

In this collection, you will see some of the best jQuery Calendar Date Picker Plugins that will allo (...)

clicks: 6621 6621 2012-02-18 2012-02-18 goto url (new window) smashingapps.co... goto myNews misc


50 Beautiful Yet Free HTML5 And CSS3 Templates

HTML5 templates are getting very popular these days because all professional HTML5 templates are com (...)

clicks: 7158 7158 2012-02-17 2012-02-17 goto url (new window) smashingapps.co... goto myNews misc