From f054643d170d38c6e60051852323c642ba3939cd Mon Sep 17 00:00:00 2001 From: Ryan Szrama Date: Fri, 13 Mar 2015 10:52:25 +0800 Subject: [PATCH] Typo fixes in the Programming Paradigms post. --- _posts/03-02-01-Programming-Paradigms.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/03-02-01-Programming-Paradigms.md b/_posts/03-02-01-Programming-Paradigms.md index 772f27c..f971f37 100644 --- a/_posts/03-02-01-Programming-Paradigms.md +++ b/_posts/03-02-01-Programming-Paradigms.md @@ -19,9 +19,9 @@ interfaces, inheritance, constructors, cloning, exceptions, and more. ### Functional Programming -PHP supports first-class function, meaning that a function can be assigned to a variable. Both user-defined and +PHP supports first-class functions, meaning that a function can be assigned to a variable. Both user-defined and built-in functions can be referenced by a variable and invoked dynamically. Functions can be passed as arguments to -other functions (a feature called _Higher-order Functions_) and function can return other functions. +other functions (a feature called _Higher-order Functions_) and functions can return other functions. Recursion, a feature that allows a function to call itself, is supported by the language, but most PHP code is focused on iteration.