Pablo Alonso (@pabletecodes) profile picture

👨🏻‍💻 Product Engineer / Human in the loop Taking a career break to recharge and decide what to do next 🏄‍♂️

Gijonfornia
Joined January 2010
Photo by Pablo Alonso (@pabletecodes)Photo by Pablo Alonso (@pabletecodes)Photo by Pablo Alonso (@pabletecodes)Photo by Pablo Alonso (@pabletecodes)Photo by Pablo Alonso (@pabletecodes)Photo by Pablo Alonso (@pabletecodes)Photo by Pablo Alonso (@pabletecodes)Photo by Pablo Alonso (@pabletecodes)Photo by Pablo Alonso (@pabletecodes)Photo by Pablo Alonso (@pabletecodes)
No wonder why software engineers are scared of being replaced by AI... part of our job now is to create environments where AI can work autonomously with as little human input as possible 🙃
1
581
Code was input, now is output 🤯
160
Yes! Copying is a key part of learning!🎯 - Musicians play existing songs before composing. - Artists replicate before creating a style. - Dancers mimic before making their own moves. Mastery starts with imitation. 🚀
Imitation is great if you put your own spin to it One of my first projects (before money and I had 0 followers) over a decade ago was Tubelytics, and I literally took @Shpigford's famous Baremetrics app and recreated it but for YouTube I looked up (and still do) to him a lot and wanted to be him and make money online and I thought if I just copied his landing page but change it for YouTube I'd be rich It failed but did get VICE as a customer for a bit even! And that inspired me to kept going for years Just getting people to make something is the first step, even if it probably won't work out, they're now on a creative journey to make stuff and if they keep going many of them will end up very succesful (esp if they all go their own niches)
1
93
Reflections on some recent (and painful) work that we did to replace some frontend components with different APIs and how we might have approached this problem differently: taking advantage of the Adapter pattern: open.substack.com/pub/pablet…
66
When you have to work on some code and... IT HAS TESTS
47
As you might already know Boolean Parameters are often considered a "code smell". I wrote yet another post explaining why and what's a better alternative 👇 pabletecodes.substack.com/p/…
50
"Replace Loop with Pipeline" is a simple refactoring to simplify loops. I've been using it a lot lately and I wrote this post so that you learn about it and can use it too 🙂 open.substack.com/pub/pablet…
1
1
83
"Replace Loop with Pipeline" is a simple refactoring to simplify loops. I've been using it a lot lately and I wrote this post so that you learn about it and can use it too 🙂 open.substack.com/pub/pablet…
1
1
83
Real > Imaginary 🙂
Having a prototype is 10x more valuable than a design. Having a design is 10x more valuable than having a little doc. Having a doc is 10x more valuable than having an idea in your head.
70
Can you fix the design of your code by looking at the design of your unit tests? 🤔 Yes, you can! 👌 I explored this idea with a very simple example and listed a bunch of "smells" or "pains" you can be looking for in your tests 👇 pabletecodes.substack.com/p/…
71
Improving Code Design by Identifying Test Code Smells open.substack.com/pub/pablet…
38
This post motivated me to explore how we can apply the "Encapsulate Collection" refactoring in JavaScript, while providing Array-like behaviour on the encapsulated collection: pabletecodes.substack.com/p/…
This quoted post is unavailable.
1
130
Great article with examples of design patterns that can drastically improve your vue.js components 🙂
📕 12 Design Patterns in Vue 👉🏻 In this article, @MichaelThiessen compiled 12 different design patterns for @vuejs, along with short and concise examples of how they work. michaelnthiessen.com/12-desi…
2
81
"I want AI to do my laundry and dishes so that I can write code, not the other way around" 🤣
78
When should I refactor my code? 🤷‍♂️ The "Rule of Three", explained in "Refactoring" by Martin Fowler, is a good guideline:
1
1
2
120
When working with code, we tend to wear "two hats" (a metaphor attributed to Kent Beck). We're either: - 👷 Developing: adding tests and fixing them (changing behaviour) - ✨ Refactoring: restructuring the code (changing structure) Alwasy be mindful of what hat you're wearing!
1
1
110
Here's my take on the second Design Challenge thrown by @JuntaoQiu 👇 gist.github.com/alonsogarcia… Disclaimer: I didn't run the code and I'm not a React developer, so pardon my React! 🤣
Design Challenge 002: Simplifying State Management in React , by @JuntaoQiu open.substack.com/pub/juntao…
56
Don't ask me why but every time I use the💃 emoji, it reminds me to @xavijam. Does someone else "suffer" from this? 🤣 Example:
1
6
103