Skip to content

Comment on What are the lesser known but cool data structures?parent

Comments

If only the daily grind of programming would require interesting algorithms more often. Certainly not the case for web development :-(

The most practical lesser known types for my day to day programming are:

- element trees (etrees), partiocularly lxml implementation. Simple insert and append operations at xpaths (eg /body/html/table/tr[3]/td[7]), iterating over children, accessing element properties as object properties.

- dependency graphs (aka graphs). I have no idea why they're called graphs (I did business, not CS) but anywhere you have dependencies to store and work out (say for a project management app, or a packaging tool) these are the best fit.

That's why every time I look at the un-hyped kind of work I do on a daily basis writing system level C++ applications and bootloaders and begin to get depressed, I just have to think about how much fun and how mentally stimulating it really is and I get a smile on my face :)

Behind every website there is hopefully something new and exciting that is fun and interesting to build. The front-end part and all the glue layers not so much.

(pet peeve: browser incompatibilities :( ).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.