Coder ● Learner ● Thinker ● Life Ninja ● Mentor ● DevOps ● JavaScript ● React ● FP ● Angular ● Linux ● Bash ● M68000 Assembly

Stockholm, Sweden
Joined October 2016
Thomas Sandberg retweeted
Because it’s raining again, I updated the #ChatGPT doodle that I originally made in February.
6
29
5
117
12,421
Thomas Sandberg retweeted
I quit my job a few years ago so I could be an independent consultant. The difference in my daily routine is amazing. Before, as a full-time dev: 6am - Wake to alarm 630 - Drive to work 7-4 - At work. Eat breakfast and lunch at desk while working. 430 - Home. Fam time and dinner. 7-10 - Build my consulting biz After, as an independent: 7ish - Wake to sunlight - No alarm 730 - Breakfast 8-930 - At gym with my wife 930-4 - Client work in my home office. Lunches with friends and fam. Afternoon walk with my wife. 4-9 - Relax. Fam time. Read. Independence is amazing. Getting here was hard, but worth it.
43
49
4
1,352
432,873
Thomas Sandberg retweeted
🔥 These are 5 of my favorite tips for creating, moving and renaming files/folders in VS Code. File utils extension is 👌
11
81
2
607
Thomas Sandberg retweeted
Functional programming has a new champion. 😆
33
206
37
1,194
Thomas Sandberg retweeted
Vite Tip: Seeing weird behavior? Run the build. Here's why: Today I taught a team React with Vite. Someone's changes weren't applying on save. Vite would load the latest file changes successfully on startup, but then fail to show any updates upon save. Super confusing... 👇
5
6
70
Thomas Sandberg retweeted
Living Large by Living Little 🎼🎸🌊⛵️🌈 (he/him)@large_by12 Feb 2020
Did you know that the phrases uppercase and lowercase came from the box the printers used to set the type? The caps were in the upper case and the smaller letters were in the lower case. #WritingCommunity #Print
4
50
11
110
Thomas Sandberg retweeted
⚛️ React context tip that I didn't learn until recently: The Provider is *optional* – you might not need it! This makes working with React context simpler for singleton-like ("global") usage.
21
105
6
1,001
Thomas Sandberg retweeted
ECMAScript excitement 😉 These proposals achieved stage advancement during this week's 90th TC39 meeting 🎉 4️⃣ findLast/findLastIndex 3️⃣ Symbols as WeakMap keys 3️⃣ JSON.parse source text access 3️⃣ RegExp modifiers 2️⃣ String.dedent 1️⃣ Import Reflection 1️⃣ RegExp Atomic Operators
8
70
7
288
Thomas Sandberg retweeted
Your mistakes don't define who you are. It's what you do after you have made the mistakes that makes all the difference. Every mistake you make is a learning experience. They don't make you less capable. But it's how you correct them or learn from them that defines you.
47
1,390
59
5,371
Thomas Sandberg retweeted
The publishers of my book Code That Fits in Your Head are giving away three free copies of the DRM-free eBook. For your chance to win retweet this tweet. Entries will close by the end of the week. Good luck! informit.com/seemann
1
155
3
64
Chewbacca as kid?
Absolutely insane that my friend’s dog that looks like this has not gone viral.
1
1
I love the Russian people. That is why I have to tell you the truth. Please watch and share.
35,953
334,487
48,055
1,082,351
Thomas Sandberg retweeted
You cannot get educated by this self-propagating system in which people study to pass exams, and teach others to pass exams, but nobody knows anything. You learn something by doing it yourself, by asking questions, by thinking, and by experimenting.
56
2,363
119
9,297
Thomas Sandberg retweeted
The difference between a good student and a great one is that a good student is concerned more about the outcome while a great one is fascinated by the process of learning.
50
1,830
85
9,455
Thomas Sandberg retweeted
Performance tip: did you know you can make a fast function for relative time strings with ~30 lines of code and 0 dependencies? Code in 🧵:
14
110
4
909
Thomas Sandberg retweeted
Performance tip: do you know about `overflow: clip`? It is a modern alternative to `overflow: hidden` with better performance
29
400
10
2,895
Thomas Sandberg retweeted
For all its evil,war sometimes has a tiny silver lining. It can clarify the mind and reboot our ethical compass. It puts less serious things in perspective. It nudges us towards our neighbor and reminds us that our needs and interests are intertwined. It reignites our compassion.
396
1,978
128
23,269
Thomas Sandberg retweeted
5 key developer skills: 1. Decomposition: Break big problems down into small problems. 2. Grouping: Store related things together. 3. Naming: Describe things well. 4. Communication: Speak, write, and read well. 5. Grit: Don't give up easily. Be resilient.
9
101
2
459
Thomas Sandberg retweeted
Just learned about Ky, an elegant alternative to fetch or Axios. github.com/sindresorhus/ky Ky requires VERY little code to make HTTP calls. 👍 Here's a comparison making the same call with Ky vs fetch:
19
47
7
374
Thomas Sandberg retweeted
I find myself copying code, a “logger”, into a new repo. It’s the third time I do this. The logger is too tiny to even bother package as a library, but useful in many projects. “I wish we had Polylith in Python” 🤔 We have that now! #Python #Monorepo davidvujic.blogspot.com/2022…
2
3