#codingtip

Bits Kingdombitskingdom
2025-09-11

Functions are the workhorses of your code. With TypeScript, they don’t just “work”—they work safely, clearly, and scalably.

In Chapter 3 of Strictly Typed, I cover:
✅ Typing functions the right way
✅ Managing optional + default parameters
✅ Handling overloads with confidence
✅ Using generics for reusable, elegant code

👉 Read Chapter 3: bitskingdom.com/blog/strictly-

...

Bits Kingdombitskingdom
2025-09-03

🏄 Vibe coding has gone from a developer’s instinctive freestyle to a full-blown movement, and AI tools are the fuel.

Language models now sit at the center of this creative flow, suggesting, completing, and even pushing us toward bolder coding choices.

In this article, we explore the companies and tools that are making vibe coding not just possible, but powerful.

👉 Read more: bitskingdom.com/blog/ai-tools-

...

Bits Kingdombitskingdom
2025-08-27

Developers have always coded on instinct: jumping in, trying something bold, and seeing where it goes.
Now, AI tools are right there with us, suggesting snippets, tweaks, and experiments in real time.

It’s not just human freestyle anymore—it’s a duet.

In this article, we explore how AI is changing the way we “vibe code” and why that’s reshaping the dev workflow.

👉 Read more: bitskingdom.com/blog/vibe-codi

...

IB Teguh TMteguhteja
2024-08-08

Unlock the power of Python dictionaries! Our comprehensive guide covers: Creating and modifying dictionaries, Adding and removing items, Iterating through key-value pairs, Best practices for efficient coding, Level up your skills today!

teguhteja.id/mastering-python-

2024-07-03

How to get #bash back to not F**KING with your typing. I watch in horror as I burst type 100 characters at a high rate of speed ending in cd c-na and SOMETHING flips the F**KING na to an as I check something and pause. Spent 3 hrs trying to figure out if I've been hacked, well, yeah sortof.
apt --purge remove bash-completion
and I've removed the malware. #CodingTip I've been coding for 45 years and I type REALLY fast but I'm old so I have to stop once in a while to check stuff.

Ana Tudor 🐯anatudor
2024-04-29

By default, gradient stop positions are evenly distributed.

So if even distribution is what you want, just omit writing the % values explicitly.

This makes your life easier, especially when you want to add/ remove stops.

/* ❌ DON'T 😭😱 */
.initial {
	background: 
		linear-gradient(#f8961e 0%, #f9844a 20%, #f9c74f 40%, 
				#90be6d 60%, #43aa8b 80%, #4d908e 100%)
}
/* ✅ DO 🤩 */
.initial { /* same result */
	background: linear-gradient(#f8961e, #f9844a, #f9c74f, #90be6d, #43aa8b, #4d908e)
}

/* makes it easier to add more stops */
/* ❌ instead of also having to modify all percentages when adding stops 😭😱 */
.add {
	background:
		linear-gradient(#f94144 0%, #f3722c 12.5%, #f8961e 25%, #f9844a 37.5%, 
				#f9c74f 50%, #90be6d 62.5%, #43aa8b 75%, #4d908e 87.5%, #577590 100%)
}
/* ✅ you can just add the hex codes 🤩 */
.add { /* same result */
	background: 
		linear-gradient(#f94144, #f3722c, #f8961e, #f9844a, 
				#f9c74f, #90be6d, #43aa8b, #4d908e, #577590)
}

/*  same goes for removing stops */
/* ❌ instead of also having to modify all percentages when adding stops 😭😱 */
.remove { background: linear-gradient(#f9c74f 0%, #90be6d 50%, #43aa8b 100%) }
/* ✅ you can just remove the hex codes 🤩 */
.remove { background: linear-gradient(#f9c74f, #90be6d, #43aa8b) } /* same result */
2023-11-08

#CodingTip Debug macros in Swift with #MacroTesting and pinpoint errors with precision. Know exactly where that bug is hiding, down to the line and column, and highlight the range of any error. Save time and provide the best experience to your users! #AppDevelopment

HackDosehackdose
2023-10-18

To improve daily...

2023-03-29

How many times do you open Terminal and type cd then drag a folder from Finder to the open window? No need, just drag the folder to the Terminal icon in the dock, it will open at the directory prompt #macOS #codingtip #tipoftheday

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst