500) ? true : false" x-cloak >
Cuttings / Things of interest.
CUTTINGS
/
PROFILE
Posts
Shards
Tags
Search
(10 posts)
exercises
"...A routine application of algebra or other mathematics to a stated challenge."
11.05.2025
Nim Macros - Beginner & Intermediate Exercises
With detailed notes and thought processes.
06.05.2025
Nim / Exercise - `timed(expr)` macro
Measure and print how long an expression takes to run.
06.05.2025
Nim / Exercise - `swap(a, b)` macro
Swap the values of two variables.
06.05.2025
Nim / Exercise - `assertPositive(expr)` macro
Check if the expression is > 0.
02.05.2025
Nim / Exercise - Make a `logvars(a, b, c)` macro
Log several variables at once.
02.05.2025
Nim / Exercise - Make a double(x) macro
Take an identifier and generate code that doubles its value in-place.
27.06.2021
Eloquent Javascript / Chapter 2, Exercise 03
Chessboard - in which I review ternary operators.
12.02.2021
46 Simple Python Exercises/#10
Find common list members.
11.02.2021
46 Simple Python Exercises/#02
Find the largest of three.
11.02.2021
46 Simple Python Exercises/#01
Largest number selector.
© Wan Zafran. See
disclaimer
.