A haiku is a type of short poem that originated in Japan. It consists of three verses in a 5-7-5 pattern, must include a seasonal reference (kigo), and a cutting word (kireji).
I don't know Japanese, but I have read many haikus translated into English. And I like them: they are short, they provide beautiful imagery, they make you think... They feel like a snapshot of a thought.
It was a tongue-in-cheek haiku. But it started something. After that one, I have been using haikus as mnemotechnical tricks to learn and remember different Web Development concepts.
...And I'm going to share some with you!
Just when you thought that 2021 was going to be better than 2020 and that Vogon poetry was the worst possible poetry in the Universe... here comes Alvaro with some haikus of his own.
React React React React React,
React React React React React React React.
React React React React Vue.
Technically, this should be considered a senryu –basically a haiku but without the seasonal reference or the cutting word–. However, we could argue that the last "Vue" works as a good cutting word, and that deep down, React is cold as winter ice.
varmints run around
let cold winds erase their trails
constant is nothing
conifers grow fast
lingering and repeating
In CSS, you can define gradients as background images. There are five different types of gradients:
repeating-linear-gradient()(lingering + repeating)
repeating-radial-gradient()(repeating + radical)
fix that sticky thought,
the absurd of the static light.
all is relative.
All the different values for the
position property in CSS:
fixed (fix), and
Level your head now
contrast options, the meaning.
What's the alternative?
The WebAIM Million is an annual web accessibility analysis of one million front pages. The top 5 issues account for 85% of the errors found, so taking care of them will improve a11y on your sites:
- Color contrast ("contrast")
- Alternative text ("alternative")
- Labelling fields ("level", a bit of a stretch)
- Meaningful links and buttons ("meaning")
- Organized headings ("head")
I like the last verse "What's the alternative?" Web accessibility should not be or have an alternative, it should be the way to go in web development.
And now that you have suffered (and hopefully survived) some poetry... what techniques do you use to remember technical concepts? Do you write them down? Cross-stitch them? Practice building something with them? Write short poems to torture other web developers with them?... or do you just forget and trust in your Google-Fu?