April Fools Gunfighter

Confidence T. Brown lived in Reno Nevada. His father was the Mayor and their family had a lot of money, made from land sold for silver mining. Confidence’s mother had died giving birth to him. He had…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Do one thing and do it well

I prefer to keep the number of technologies to the least. This made sense considering the fact am the only person building it. I didn’t want to add a front-end framework, instead used jQuery. But using it for rendering views made the code too cumbersome.

I experimented Stimulus in a few places. Later I moved the existing jQuery code to Stimulus using Boy Scout Rule. I didn’t have to change anything in the application because I introduced Stimulus. It didn’t take my front-end.

Stimulus did one thing well — add behaviour to your Javascript through its controllers. And it also gels well with any other library or framework too because of being modest.

And it is not much different for products too. Most of the successful products religiously apply this principle. Here are a few articles which are relevant to this, both for the product and the code.

Add a comment

Related posts:

Decision Trees

Decision Trees are a type of Supervised Machine Learning (that is you explain what the input is and what the corresponding output is in the training data) where the data is continuously split…

County to reclaim grabbed fish landing sites

Kwale County government has warned land grabbers eyeing public utility land and fish landing sites. Deputy Governor Fatuma Achani made the remarks in reference to reports that land set aside for the…

Housekeeping

ExxonMobil has declared a force majeure on oil lifts from several terminals in Nigeria following industrial action by the company’s in-house workers union. Michelle Gray, ExxonMobil spokesperson…