Post #0: In Which I Set Out to Write a Terrible Compiler for a Useless Language

C++ and passing by value

How Not to Teach Recursion

Issue #53

1/4/2021

A Byte of Coding Issue #53
Greetings
Happy new years guys and gals! Hope the start of the new year has been flabbergastingly fantastic! If it hasn't, don't worry, you still have the whole year for things to turn around. Here's the first issue of the new year! Boom-da-boom-cha-nic-nic-whoopa!

Post #0: In Which I Set Out to Write a Terrible Compiler for a Useless Language

Published: 3 January 2021
Tags: rust, asm


What better way to start the new year than with an exploration of some low level programming? In the first article of this series, the author goes through what it takes to print to the command line with assembly and writes a compiler in Rust that produces quines.

Read Full Article

C++ and passing by value

Published: 1 January 2021
Tags: cpp


More often than not, if you're working in C++, you're looking to optimize performance. Although premature optimization is a bad thing, ingraining optimal patterns into your everyday programming can save you time down the line. Matt Godbolt has written an aritcle presenting how passing by value in C++ functions where you intend to copy the argument is less expensive than the alternatives.

Read Full Article

How Not to Teach Recursion

Published: 3 January 2021
Tags: philosophy


Recursion can be difficult to understand, and as a result of that, it is frequently misused or just flat out not used. That's a shame though, because it can be very useful for certain situations. The author of this article outlines some of the common functions used to teach recursion, why they're not very good lessons, and finally a better way to teach recursion, as recommended by How to Design Programs.

Read Full Article
Thanks for your Support! 

Thanks to supporters like Євген Грицай, Scott Munro, zturak, pek, and Emil Hannesbo this newsletter is provided to you for free. If you'd like to also show your support and help out, you can donate on the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.
Donate Here

Stats (updated daily)

Sent: 1446

Opens: 1046

Clicks: 481

Link Clicks Clicks % Unique Clicks Unique Clicks %
How Not to Teach Recursion 232 48.23% 188 48.33
C++ and passing by value 122 25.36% 97 24.94
Post #0: In Which I Set Out to Write a Terrible Compiler for a Useless Language 116 24.12% 96 24.68
Donate Here 11 2.29% 8 2.06

Previous

Back to Issues

Next