Josh Jersild · @JoshJers
129 followers · 239 posts · Server peoplemaking.games

One thing I'm having trouble with in my project is scoped vs. unscoped blocks.

For instance, normally if you have variables inside of a { } block, they're scoped to that block (when the block ends they no longer exist).

However, I have need of an UNSCOPED block, mainly for compile-time conditions.

In C/C++, these conditions are usually written as

fooo
...

but I don't actually have a preprocessor so it'd be nice to have something closer to the rest of the language. something like:

if const(foo)
#{
// do something only if foo is true at compile time
}#

the only problem is I don't love the #{ }# bracing that I have there - but I haven't come up with anything better.

[] and () are already widely used, <> is a parsing nightmare (since they're other operators), I don't really want to use : since it's also widely in use

Has anyone seen a language that has distinct scoped and unscoped blocks? What did that look like?

#pldev #IF #endif

Last updated 3 years ago

Neuberechnung der Macros:

Carbs: 4 % (15 Gramm)
Protein: 22 % (90 Gramm)
Fat: 74 % (135 Gramm)

Keto Ratio: 3:1
Woodyatt Ratio: 2,02

:gruppe: @keto_gruppe

#BingeEating #Essstörung #Zuckerfrei #NoSugar #IF #IntermittierendesFasten #OMAD #Keto #ADF

Last updated 3 years ago

Mein Ziel war, bis Mitte Juni eine Abnahme von 150 kg. & damit verbundene Phasen erlaubten das leider nicht.

Nun hoffe ich, dass ich noch die 100 kg Abnahme knacken kann bis dahin. Die Fressphase seit Ostern wirds schwer machen.

:gruppe: @keto_gruppe
:gruppe: @fasten_gruppe

#Depression #BingeEating #Essstörung #Zuckerentzug #IF #IntermittierendesFasten #OMAD #Keto #ADF

Last updated 3 years ago