PHPnews.io

Overview for 'sebastiandedeyne'

Zipping

Written by Sebastian De Deyne / Original link on Jun. 2, 2020

Zipping is easy. Remembering zip's arguments is hard.Create a zip archive from multiple files:zip package.zip README.md LICENSE index.jsCreate a zip archive from a directory:zip website.zip -r sebastiandedeyne-comUnzip contents to a specified directory.unzip website.zip -d sebastiandedeyne-com


Unlearning

Written by Sebastian De Deyne / Original link on May. 29, 2020

As developers, we often talk about the importance of learning. Learning is so important to us, that it's worth persuing ways to improve the way we learn.One way to become a better learner is to master the reverse: unlearning. Not the ability to completely forget, but the ability to set something as…


Builders and architects

Written by Sebastian De Deyne / Original link on May. 28, 2020

My colleague Brent wrote a food-for-thought post about two different kinds of programmers: builders & architects.The first ones, the builders, are the programmers who get things done. […] On the other hand there are architects. They are concerned about sturdy and structurally sound code. […]The…


Complexity has to live somewhere

Written by Sebastian De Deyne / Original link on May. 18, 2020

By Fred Hebert:if you make the build tool simple, it won't handle all the weird edge cases that exist out thereif you want to handle the weird edge cases, you need to deviate from whatever norm you wanted to establishif you want ease of use for common defaults, the rules for common defaults must be…


Refactoring callbacks to async/await

Written by Sebastian De Deyne / Original link on May. 8, 2020

Web browsers have a few functions that accept callback parameters. setTimeout and requestAnimationFrame are the first that come to mind.If you need to do multiple calls to these functions in a row, you quickly end up in callback hell. Here's a quick tip to flatten your code with async/await.This is…


Enter & leave transitions

Written by Sebastian De Deyne / Original link on May. 4, 2020

Now that we've built a dropdown list, lets add some transitions to create open & close animations.Broadly speaking, there are two ways to implement enter & leave transitions:Just use the transition CSS propertiesAnimations with JavaScript (either by modifying CSS properties, with the web an…