news
Programming Leftovers
-
Namanyay Goel ☛ AI Makes You Code Faster, But Ship Slower
But, on the longer term, I’m not sure how true that is. AI is making us worse developers, and we’re too addicted to the dopamine hit of instant code to notice.
-
Leon Mika ☛ Don't Choose To Reuse (Yet)
“Keep it simple, stupid” and “you ain’t gonna need it” is hard advice for a developer to follow. In a field where it’s not hard to run into someone with ego (look no further than the person writing this, dear reader) it’s can be hard for a developer to admit that the data structure or algorithm they’re working on won’t be needed for anything else. That it’s purpose is this project and this project alone. And maybe it’s premature to assume that it’s worthy of it’s own library that people will start looking at, and giving you praise for, and getting incorporated into large open-source projects that you yourself used, and being discussed by podcasters you follow, and being considered a vector for supply-chain attack by state-backed hackers because it’s an awesome library that everyone’s using.
-
Ned Batchelder ☛ Testing is better than DSA
I see new learners asking about “DSA” a lot. Data Structures and Algorithms are of course important: considered broadly, they are the two ingredients that make up all programs. But in my opinion, “DSA” as an abstract field of study is over-emphasized.
I understand why people focus on DSA: it’s a concrete thing to learn about, there are web sites devoted to testing you on it, and most importantly, because job interviews often involve DSA coding questions.
-
R / R-Script
-
Rlang ☛ T test in R
A t-test is a statistical procedure used to check whether the difference between two groups is significant or just due to chance. In this post, we’ll look at data from Titanic passengers, dividing them into males and females. Suppose we want to test the hypothesis that men and women had the same average age. If our data shows that women were, on average, 2 years younger than men, we need to ask: is this a real difference, or could it have happened randomly? The t-test helps us answer this question.
-
-
Python
-
Dave Peck ☛ Introducing tdom: HTML templating with t‑strings
Python 3.14’s new t‑strings add flexibility and power to the language’s arsenal of string processing tools. They make it easy to distinguish between static and dynamic content—essential for safe web templating.
-
-
Golang
-
Anton Zhiyanov ☛ Native threading and multiprocessing in Go
As you probably know, the only way to run tasks concurrently in Go is by using goroutines. But what if we bypass the runtime and run tasks directly on OS threads or even processes? I decided to give it a try.
To safely manage threads and processes in Go, I'd normally need to modify Go's internals. But since this is just a research project, I chose to (ab)use cgo and syscalls instead. That's how I created multi — a small package that explores unconventional ways to handle concurrency in Go.
-
-
Rust
-
It's FOSS ☛ Git 3.0 May Make Rust Mandatory as Developers Discuss Transition [Ed: Microsoft is doing this]
Git might be heading down the Rust way soon.
-