Thomas Flensted
thomasflensted.bsky.social
Thomas Flensted
@thomasflensted.bsky.social
Developer. Self-taught. Mostly React, TypeScript, Nextjs.
📍Copenhagen, Denmark.
I am, thanks!
February 19, 2025 at 1:08 PM
Thanks!
February 19, 2025 at 10:56 AM
Where in Discord does this happen exactly? I’ve long thought it must happen there, but I have no idea where to start or look
February 19, 2025 at 9:55 AM
Det er derfor det kunsternavn er så godt! Elsker det.
February 19, 2025 at 8:00 AM
Yes, Nuxt. AFAIK Nuxt is to Vue what Next is to React.
February 5, 2025 at 3:38 PM
Decided to improve my React Native and Expo skills, now it turned into a real app on its way to the iOS App Store.
February 5, 2025 at 6:56 AM
Build stuff and if you’re not there yet, solve challenges. You don’t learn by watching tutorials, you learn by doing.
January 15, 2025 at 11:18 AM
Just historical reasons I think. Some people swear by untyped JS. TS was created later on by Microsoft
December 12, 2024 at 8:27 AM
Yes it makes sense to learn as that’s what everybody uses today. But you’re probably fine with JS for now, then you can switch later. That’s what what I did. It’s a pain in the beginning, but now I can’t imagine ever going back.
December 12, 2024 at 8:16 AM
It’s essentially the same, just with types, so you and your IDE always know what the type of a variable is. In your example you would get an error saying you cannot assign a number to a string (unless you specifically typed it so it could be both).
December 12, 2024 at 8:14 AM
That’s why you have TypeScript
December 12, 2024 at 7:32 AM
That’s right. The concepts and ideas will help you in many situations, also outside of programming.
December 11, 2024 at 5:58 PM
Maybe a hot take, but no Python, C++ or (advanced) DSA is necessary to become a web developer today.
December 11, 2024 at 4:46 PM
I would do React app with Supabase storage for the audio files. Supabase buckets wrap S3, but much easier to work with using their JS API.
December 11, 2024 at 4:35 PM
If you’re looking for the word for it, it’s concatenation.
December 11, 2024 at 1:47 PM
I have no idea how to do this. Is it because I’m on a Danish keyboard or just because I’m not smart enough
December 11, 2024 at 9:01 AM
You'll get there!
December 11, 2024 at 5:34 AM
But honestly, if you're new to JS don't think too much about this. Just use let and var. It will come naturally later on.
December 10, 2024 at 7:16 PM
The variables can change - either when some other value changes (e.g. addedSkills) or I only need them once inside a function when it's called. When the function is called again the const can take another value. What mostly happens is I assign a const and use that to compute another const.
December 10, 2024 at 7:08 PM
I only use const. Never var and when, very rarely, I'm forced to use let it feels wrong.
December 10, 2024 at 6:28 PM
I see that you're learning JS. "Getting" the importance of scope comes with experience. I also didn't see why it was so important in the beginning, but trust me, at some point you'll only be using const and it will hurt writing let or var 😊
December 10, 2024 at 6:27 PM
Because 1) at some point you need that function again and then you're still keeping your code DRY and 2) you can give it a descriptive name so it's clear what it does. I sometimes I have functions that just have a single return statement.
December 10, 2024 at 4:05 PM
You will be polluting your scopes and you will easily lose track of what the actual value of your variable is.
December 10, 2024 at 1:37 PM
It’s like that by design, and it makes a lot of sense - you just gotta practice. It would easily get very messy if that was possible. If you use let and define your variables outside the function you can do it, but it’s bad practice. Always use const 😊
December 10, 2024 at 1:29 PM