This week's code snippet, Baklava in Verve, is brought to you by Subete and the Sample Programs repo.
fn abs(n: Int) -> Int {
if (n < 0) { -n } else { n }
}
let baklava_str = " *********************"
fn baklava_line(n: Int) -> String {
let num_spaces = abs(n)
let num_stars = 21 - 2 * num_spaces
substr(baklava_str, 10 - num_spaces, num_spaces + num_stars)
}
fn baklava(start: Int, end: Int) {
if not(start > end) {
print(baklava_line(start))
baklava(start + 1, end)
}
}
baklava(-10, 10)
Below you'll find an up-to-date list of articles by me on The Renegade Coder. For ease of browsing, emojis let you know the article category (i.e., blog: ✒️, code: 💻, meta: 💭, teach: 🍎)
- 🍎 I Hate That Student Feedback Is Now Reviewed by Machine Learning
- ✒️ Not All Code Completion Is Generative AI
- ✒️ AI Haters Stay Winning: What It’s Like to Be Constantly Vindicated
- ✒️ Computer Science Career Advice in 2026? Your Guess Is as Good as Mine
- 🍎 Why I Don’t Record My Lectures
- ✒️ Should You Use Git on Personal Projects No One Will Ever See?
- ✒️ The Era of Narks Is Upon Us
- ✒️ Recapping My First In-Person Academic Conference
- ✒️ Theseus’s PC: Eight Years of Changes to One Man’s Machine
- ✒️ Nobody Wants to Have Kids
Also, here are some fun links you can use to support my work.
This document was automatically rendered on 2025-12-26 using SnakeMD.





