Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
rename s/grep/filter/
The name 'grep' is an affectation within the Perl language and community, caused by such things as being almost the first among the dynamic languages to have a function like this, and wanting to harken to Unix names and ways. After that, it's just inertia that makes it keep this name. The name originally stems from an 'ed' command, and is an acronym for "Globally search a Regular Expression and Print". Not much of this is relevant for the modern function of selectively retaining elements from a list. 007 is not bound by tradition, inertia, or nostalgia. Hence we switch to the Python name 'filter'.
- Loading branch information
Carl Masak
committed
Oct 7, 2015
1 parent
404e6b1
commit 9097bab
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters