News for hackers. Stuff that matters.
Re:Show HN: Refurb – A tool for refurbishing and modernizing... by ttymck on Wednesday September 28, 2022 @01:38PM (#33010769)
> I can't even figure out what lines 43-55 do, but that's a lot of nesting

It's a very elegant pattern match on a deeply nested structure. It's declarative, not imperative, so if you are concerned about "nesting complexity", you need not be.

How would you implement this otherwise?

Re:Show HN: Refurb – A tool for refurbishing and modernizing... by mikewarot on Friday September 30, 2022 @12:49AM (#33031098)
I honestly don't understand what's going on... but in Pascal I'd use short circuit expression evaluation to make the comparisons as I go into the depths.

There's too many layers of nesting, in too foreign a syntax for me to even parse.

I suspect it could be done a clearer manner in pascal.

Re:Show HN: Refurb – A tool for refurbishing and modernizing... by ttymck on Wednesday October 12, 2022 @09:48AM (#33176923)
I would truly love to see it in pascal. I would be happy to give my opinion on it as a "foreign syntax" to me