33 days ago · Tech · 0 comments

This post is the fourth and last in a series comparing the same sample blog in Web Origami and Eleventy: Eleventy version: Source code and Demo Origami version: Source code and Demo As a very crude metric, the conciseness of legible code can roughly correlate with simplicity, so in this final post, let’s measure how large the projects are. That analysis is followed with an Appendix of other notes from this experiment. I totaled the size of all source files in each project: configuration code, data, scripts, and templates. I did not count markdown content as source code, and in any event, both projects use the same markdown. In a code size comparison, Eleventy has latent advantages: its folder structure implicitly encodes behavior that Origami must spell out in code, and its use of configurable plugins should in theory require less code. Counting source code in bytes (with wc -c) for Eleventy: 2836 base.njk 74 blog.11tydata.js 157 blog.njk 49 content.11tydata.js 4610 eleventy.config.js…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.