// blog

Articles

// Functions
This is where it all starts to make sense

The problem...
Look at the Hangman code. It works. But it's long. It's dense. And if you wanted to use any part of it somewhere else — you'd have to copy and paste the whol…

04 May 2026 1 min read files [0] comments [0] 23 views
// Functions
Your first function

The problem...
You've written the same block of code more than once. Same logic. Different place. Copy. Paste. Repeat.
Every time something changes — you update it in one …

04 May 2026 1 min read files [1] comments [0] 25 views
// Functions
DEF Mini Project — Banner

The problem...
You want your output to look clean. Structured. Like it was built with intention.
Right now you'd write the same formatting code every time you need a title. Copy…

04 May 2026 1 min read files [1] comments [0] 24 views
// Functions
Give your function something to work with

The problem...
Your banner() function works. But every time you call it — it asks for input. You can't use it programmatically. You can't pass a title directly.
Your funct…

05 May 2026 1 min read files [1] comments [0] 21 views
// Functions
A value if you don't provide one

The problem...
You have a function with parameters. Most of the time you call it the same way — same values, same behavior. Only occasionally does something change.
You're…

05 May 2026 1 min read files [1] comments [0] 22 views
// Functions
PARAMETERS Mini Project — Username Generator

The problem...
You've built the Username Generator before. It worked — but it was one long script. Top to bottom. No structure. No reuse.
Time to rebuild it the right way.…

05 May 2026 1 min read files [1] comments [0] 21 views
« first« ← prev 1 / 4 next → last »»