The Funk in Functional CSS

by Fadzayi Chiwandire

Front-end English

One of the most fundamental rules we are taught is to keep it DRY, "Don't Repeat Yourself." Functional CSS speaks to this rule, you write lots of tiny, single-purpose classes that are named based on their visual function, & you only write them once this, which helps give a rhythm & balance to your design and layout. One trade-off with functional CSS is that you only keep the CSS part DRY but the mark-up is quite WET, which is a trade-off that is worth making considering the advantages that come with functional programming e.g, speeding up our work process.

Fadzayi Chiwandire
Founder, DIV:A Initiative

Fadzayi Chiwandire is a Front-end Developer and Scrum Master at OnePointFour Consulting in Johannesburg South Africa, and also Founder of the DIV:A Initiative a non-profit initiative dedicated to empowering young girls between the ages of 8 and 18 years from disadvantaged communities with coding skills, in order to protect their futures and address the industry’s gender imbalance.

At OnePointFour, Fadzayi has helped develop web and mobile apps mainly for the FinTech and retail industry used by many across the country.