Skip to content

Commit 7cdbd45

Browse files
committed
fix typos lizmat++ tobs++
1 parent 9ec96a6 commit 7cdbd45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

20th/articles/rfc28.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ But we avoid going the extent of Java; for example, we don't have to define a cl
4545

4646
> Strong typing does not equal legitimacy.
4747
48-
Similar to the OO approach, we don't *require* typing, but allow you to gradually add it. You can start with an untyped scalar variable, but as you further develop your code, you can add a type to that declared variable, and to parameters to subs & methods. The types can be single classes, subsets, Junctions, where clauses with complicated logic: you can use as much or as little typing as you want. Raku's multi routines (subs or methods with the same name but different arguments) give you a way to spilt up your code based on types that is then optimized by the compiler. But you can use as little or as much of it as you want.
48+
Similar to the OO approach, we don't *require* typing, but allow you to gradually add it. You can start with an untyped scalar variable, but as you further develop your code, you can add a type to that declared variable, and to parameters to subs & methods. The types can be single classes, subsets, Junctions, where clauses with complicated logic: you can use as much or as little typing as you want. Raku's multi routines (subs or methods with the same name but different arguments) give you a way to split up your code based on types that is then optimized by the compiler. But you can use as little or as much of it as you want.
4949

5050
> Just because Perl has a map operator, this doesn't make it a functional programming language.
5151
52-
I think Raku stayed true to this point - while there are functional elements, the polygot approach (supporting multiple different paradigms) means that any one of them, including functional, doesn't take over the language. But you can declare routines ```pure```, allowing the compiler to constant fold calls to that routine when the args are known at compiler time.
52+
I think Raku stayed true to this point - while there are functional elements, the polyglot approach (supporting multiple different paradigms) means that any one of them, including functional, doesn't take over the language. But you can declare routines ```pure```, allowing the compiler to constant fold calls to that routine when the args are known at compile time.
5353

5454
> Perl is really hard for a machine to parse. ... It's meant to be easy for humans to understand.
5555

0 commit comments

Comments
 (0)