Skip to content

Commit 337fa7e

Browse files
authored
Update README.md
Hey there. As a Software Engineer who happens to be Nigerian, I think there are better ways of explaining a side effect than perpetuating stereotypes about a specific group of people. So I just made a small fix to make it more appropriate.
1 parent d00ca4c commit 337fa7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ function createFile(name) {
529529
A function produces a side effect if it does anything other than take a value in
530530
and return another value or values. A side effect could be writing to a file,
531531
modifying some global variable, or accidentally wiring all your money to a
532-
Nigerian prince.
532+
stranger.
533533

534534
Now, you do need to have side effects in a program on occasion. Like the previous
535535
example, you might need to write to a file. What you want to do is to

0 commit comments

Comments
 (0)