monochrome scarab lineart

2026-04-30,
of functions and returns

Rhubarb, Thursday, 30 April 12026 HE, Walpurgis
2026-04-30 | 26D30 | 2026-120 | 2461161
2026-W18-4 | Q2 | Verano

night-blooming cereus, San José, California

2013-08-06 – Apple iPhone 4
night-blooming cereus, San José, California

Yves Larock – “Rise Up” ↗

* * *

I’ve been waffling between Pascal and Lua lately and I came across one construction in Pascal that just feels off to me :

result1 = WeekOfTheYear(Now, result2);

it’s that whole altering a variable (result2) inside a function – it’s perfectly valid since the function is inside the variable’s scope – but Lua does things just a little differently :

result1, result2 = weekOfTheYear(now)

functions in Pascal could be written to return a 2-entry array, but in this particular case that would require rewriting a Pascal system library that’s worked just fine for at least a couple decades now – it’s just another reminder that each programming language has its own mindset

* * *

the day before
the month before
the quarter before
the year before

rss