Is this just a quirk in my display, or are all the code blocks in this formatted like a CIA black highlighter
I checked in Firefox and Chrome (on Linux) and code samples look OK to me. What browser/OS are you using. Maybe send me a screenshot at janko dot itm at gmail.
When if is just a function
11–20 of 111 posts
Re: When if is just a function
#12- closures get tricky, i.e. having outer scoped variables within a block
- inter-block operators still need special care, e.g. return should return from a function or a nearest block, same for break/continue/etc.
Re: When if is just a function
#13Smalltalk, anyone? I guess the OO version.
Re: When if is just a function
#14Open to being convinced otherwise
(tangent but related, aren't the "Loops" and "Iteration" examples given for python literally the exact same syntax, with the exception of changing how the iterable is generated?)
Re: When if is just a function
#15Re: When if is just a function
#16Re: When if is just a function
#17Is this just a quirk in my display, or are all the code blocks in this formatted like a CIA black highlighter
Re: When if is just a function
#18Is this just a quirk in my display, or are all the code blocks in this formatted like a CIA black highlighter
Re: When if is just a function
#19Smalltalk, anyone? I guess the OO version.
Re: When if is just a function
#20I wish they showed the `else` syntax, because the traditional ALGOL-style if-then-else statement doesn't look native when shoved into most function call notations, unless you have something pretty interesting around named parameters and expressions delimiters.
print either pwd = "correct" { "Hello" } { "Locked" }
This is Rebol's doc on either, Rye's works exactly the same:
https://www.rebol.com/docs/words/weither.html