Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
I noticed when attempting to generate random booleans that t and f are not treated in the same way: t random ! Error f random ! returns a value In the factor 0.98 and 0.99 documentation, t is ...
#2: Post edited
Why is boolean value f (false) defined as a parsing-word while t (true) is not? [Factor programming language]
- Why is boolean value f (false) defined as a parsing-word while t (true) is not in Factor?
#1: Initial revision
Why is boolean value f (false) defined as a parsing-word while t (true) is not? [Factor programming language]
I noticed when attempting to generate random booleans that `t` and `f` are not treated in the same way: ```factor t random ! Error f random ! returns a value ``` In the factor 0.98 and 0.99 documentation, [`t`](https://docs.factorcode.org/content/word-t,syntax.html) is defined as a simple word, whereas [`f`](https://docs.factorcode.org/content/word-f,syntax.html) is given special status as a parsing word. Why?