Written by Harry Roberts on CSS Wizardry.
N.B. All code can now be licensed under the permissive MIT license. Read more about licensing CSS Wizardry code samples…
With my recent move to self employment, one of the things I am most keen to do is ‘educational’ work. That is to say, I want to carry on being a developer, but spend more time educating and imparting my knowledge. This is taking the shape of more talks and workshops (two upcoming) but also consultancy work; going into peoples’ offices and spending time with their devs on their products looking at how best to tackle their UI problems. This work is very specific to the clients’ needs, not something that can necessarily be picked up from examples used in talks or workshops.
However—as is often the case—budgets, locations, timeframes and a lot more can mean that getting someone on site for a number of days is sometimes unfeasible. This is a shame, but inevitable. These constraints, however, gave me an idea…
Earlier this year—at CSSconf.eu—Jed Schmidt described me as a human CSS linter. I really loved this phrase because it nicely sums up a lot of the work I do: I spend a lot of my time assessing, rationalising and planning front-end projects, spotting potential pitfalls and teaching people how to circumvent them.
I had an idea of a way to fuse my desires to work in an ‘educator’ role (I use scare quotes as I feel that without them I would just sound really pretentious) with a variety of clients in far-flung locations: remote code reviews.
As of, well, now, I’m offering the same level of consultancy—on your products to solve your problems—but with fixed deliverables in a fixed timeframe and at a fixed price. You grant me access to your codebase—however you see fit—and I spend a day scrutinising it, writing up a comprehensive review document, providing refactored and improved examples, suggestion for alterations, and a general critique of the code as a whole, and then we have a Skype call a few days later to discuss it all, and answer any questions you may have. This isn’t just me saying ‘this is good’ or ‘this is bad’; it’s a comprehensive, documented review of your full site’s CSS, with a list of detailed changes necessary to improve scalability, sanity, architecture and a lot, lot more.
The outcome of all of this is twofold.
Firstly, and most obviously, the quality of your code on the reviewed site or app will be improved. The product itself will see benefits from a maintenance and scalability point of view. There is a direct benefit to the product, site, or app, in question. Talks and workshops are all well and good, but they only ever deal with deliberately chosen examples that may have no application or relevance to your product. A review of your own code can deal with nothing but realistic examples.
Secondly, and far more importantly, the review will give you and/or your team a detailed review of the way you work in general. The review will act as a lesson of sorts, tailored around examples of your own, on code you wrote. This means that, as well as improving the quality of the reviewed codebase, it will improve the work you do on all sites. Sure, the review will make the codebase in question better, but it will make the work you do day-to-day a lot better too. It will fix problems in the code I review, but it will also prevent you making the same mistakes in future. By looking at the way you and/or your team currently work, we can figure out a way of rolling out the improvements across all of the work you do.
For more information, or to arrange a review, head to my work page.
N.B. All code can now be licensed under the permissive MIT license. Read more about licensing CSS Wizardry code samples…
Harry Roberts is an independent consultant web performance engineer. He helps companies of all shapes and sizes find and fix site speed issues.
Hi there, I’m Harry Roberts. I am an award-winning Consultant Web Performance Engineer, designer, developer, writer, and speaker from the UK. I write, Tweet, speak, and share code about measuring and improving site-speed. You should hire me.
You can now find me on Mastodon.
I help teams achieve class-leading web performance, providing consultancy, guidance, and hands-on expertise.
I specialise in tackling complex, large-scale projects where speed, scalability, and reliability are critical to success.