---
title: "Best Eric Freeman Sayings"
description: "Eric Freeman has 90 quotes on SMS4Smile. Browse their most insightful sayings, across 27 categories."
image: "https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b002/author-eric-freeman-7573.jpg"
---

![Portrait of Eric Freeman](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b002/author-eric-freeman-7573.jpg)

# Eric Freeman

 **90** quotes in **27** categories

Rate this collection:  ★ ★ ★ ★ ★   No ratings yet

##  Quotes by Eric Freeman · Page 3

> [“To write code this way, you need to consider the events that can happen, and how your code should react. Computer science…](https://sms4smile.com/quotes/eric-freeman/to-write-code-this-way-you-need-to-consider-the-events-that-can/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Computer science](https://sms4smile.com/quotes/about/computer-science/)

[Image](https://sms4smile.com/quotes/i/54d/eric-freeman-7573_computer-science_to-write-code-this-way-you-need-to-consi_2137327.jpg)

> [“JavaScript creates all local variables at the beginning of a function whether you declare them or not (this is called “hoisting” and…](https://sms4smile.com/quotes/eric-freeman/javascript-creates-all-local-variables-at-the-beginning-of-a-function/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Technology](https://sms4smile.com/quotes/about/technology/)

[Image](https://sms4smile.com/quotes/i/d1c/eric-freeman-7573_quote_javascript-creates-all-local-variables-a_880658.jpg)

> [“when you send an object the worker gets a copy of it. Any changes the worker makes will not affect the object…](https://sms4smile.com/quotes/eric-freeman/when-you-send-an-object-the-worker-gets-a-copy-of-it-any-changes-the/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Technology](https://sms4smile.com/quotes/about/technology/)

[Image](https://sms4smile.com/quotes/i/d3f/eric-freeman-7573_quote_when-you-send-an-object-the-worker-gets_1665263.jpg)

> [“A callback works like this: give a function to the object that knows about the event. When the event occurs, that object…](https://sms4smile.com/quotes/eric-freeman/a-callback-works-like-this-give-a-function-to-the-object-that-knows/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Technology](https://sms4smile.com/quotes/about/technology/)

[Image](https://sms4smile.com/quotes/i/c7e/eric-freeman-7573_quote_a-callback-works-like-this-give-a-functi_882346.jpg)

> [“JavaScript doesn’t have a classical object-oriented model, where you create objects from classes. In fact, JavaScript doesn’t have classes at all. In…](https://sms4smile.com/quotes/eric-freeman/javascript-doesn-t-have-a-classical-object-oriented-model-where-you/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Technology](https://sms4smile.com/quotes/about/technology/)

[Image](https://sms4smile.com/quotes/i/fa7/eric-freeman-7573_quote_javascript-doesn-t-have-a-classical-obje_2103027.jpg)

> [“Note that the JSON format doesn’t work with methods (so you can’t include, say, a bark method in your JSON string), but…](https://sms4smile.com/quotes/eric-freeman/note-that-the-json-format-doesn-t-work-with-methods-so-you-can-t/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Technology](https://sms4smile.com/quotes/about/technology/)

[Image](https://sms4smile.com/quotes/i/7bb/eric-freeman-7573_technology_note-that-the-json-format-doesn-t-work-w_2278360.jpg)

> [“A string is always a primitive unless you create it in a special way using an object constructor. We’ll talk about object…](https://sms4smile.com/quotes/eric-freeman/a-string-is-always-a-primitive-unless-you-create-it-in-a-special-way/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Technology](https://sms4smile.com/quotes/about/technology/)

[Image](https://sms4smile.com/quotes/i/d43/eric-freeman-7573_technology_a-string-is-always-a-primitive-unless-yo_3178359.jpg)

> [“The NoCommand object is an example of a null object. A null object is useful when you don’t have a meaningful object…](https://sms4smile.com/quotes/eric-freeman/the-nocommand-object-is-an-example-of-a-null-object-a-null-object-is/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Technology](https://sms4smile.com/quotes/about/technology/)

[Image](https://sms4smile.com/quotes/i/9ac/eric-freeman-7573_quote_the-nocommand-object-is-an-example-of-a_1868789.jpg)

> [“The large number of acknowledgments is because we’re testing the theory that everyone mentioned in a book acknowledgment will buy at least…](https://sms4smile.com/quotes/eric-freeman/the-large-number-of-acknowledgments-is-because-we-re-testing-the/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Image](https://sms4smile.com/quotes/i/e43/eric-freeman-7573_books_the-large-number-of-acknowledgments-is-b_1215389.jpg)

> [“As it turns out, one of the things the new operator does behind the scenes when the object is created is to…](https://sms4smile.com/quotes/eric-freeman/as-it-turns-out-one-of-the-things-the-new-operator-does-behind-the/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Behind the scenes](https://sms4smile.com/quotes/about/behind-the-scenes/)

[Image](https://sms4smile.com/quotes/i/cca/eric-freeman-7573_behind-the-scenes_as-it-turns-out-one-of-the-things-the-ne_818748.jpg)

## Eric Freeman by topic

[Technology (60)](https://sms4smile.com/quotes/about/technology/eric-freeman/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "ItemList",
            "@id": "https://sms4smile.com/quotes/author/eric-freeman/#itemlist",
            "name": "Eric Freeman Quotes",
            "numberOfItems": 10,
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "item": {
                        "@type": "Quotation",
                        "text": "“To write code this way, you need to consider the events that can happen, and how your code should react. Computer science types like to say that this kind of code is asynchronous, because we’re writing code to be invoked later, if and when an event occurs. This”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/to-write-code-this-way-you-need-to-consider-the-events-that-can/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/54d/eric-freeman-7573_computer-science_to-write-code-this-way-you-need-to-consi_2137327.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/54d/eric-freeman-7573_computer-science_to-write-code-this-way-you-need-to-consi_2137327.jpg",
                            "url": "https://sms4smile.com/quotes/i/54d/eric-freeman-7573_computer-science_to-write-code-this-way-you-need-to-consi_2137327.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“To write code this way, you need to consider the events that can happen, and how your code should react…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "item": {
                        "@type": "Quotation",
                        "text": "“JavaScript creates all local variables at the beginning of a function whether you declare them or not (this is called “hoisting” and we’ll come back to it later), but the variables are all undefined until they are assigned a value, which might not be what you want.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/javascript-creates-all-local-variables-at-the-beginning-of-a-function/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/d1c/eric-freeman-7573_quote_javascript-creates-all-local-variables-a_880658.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/d1c/eric-freeman-7573_quote_javascript-creates-all-local-variables-a_880658.jpg",
                            "url": "https://sms4smile.com/quotes/i/d1c/eric-freeman-7573_quote_javascript-creates-all-local-variables-a_880658.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“JavaScript creates all local variables at the beginning of a function whether you declare them or not (this…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "item": {
                        "@type": "Quotation",
                        "text": "“when you send an object the worker gets a copy of it. Any changes the worker makes will not affect the object in your main page. The worker is executing in a different environment than your main page, so you have no access to objects there. The same is true of objects the worker sends you: you get a copy of them.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/when-you-send-an-object-the-worker-gets-a-copy-of-it-any-changes-the/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/d3f/eric-freeman-7573_quote_when-you-send-an-object-the-worker-gets_1665263.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/d3f/eric-freeman-7573_quote_when-you-send-an-object-the-worker-gets_1665263.jpg",
                            "url": "https://sms4smile.com/quotes/i/d3f/eric-freeman-7573_quote_when-you-send-an-object-the-worker-gets_1665263.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“when you send an object the worker gets a copy of it. Any changes the worker makes will not affect the…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "item": {
                        "@type": "Quotation",
                        "text": "“A callback works like this: give a function to the object that knows about the event. When the event occurs, that object will call you back, or notify you, by calling that function. You’re going to see this pattern in JavaScript for a variety of events.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/a-callback-works-like-this-give-a-function-to-the-object-that-knows/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/c7e/eric-freeman-7573_quote_a-callback-works-like-this-give-a-functi_882346.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/c7e/eric-freeman-7573_quote_a-callback-works-like-this-give-a-functi_882346.jpg",
                            "url": "https://sms4smile.com/quotes/i/c7e/eric-freeman-7573_quote_a-callback-works-like-this-give-a-functi_882346.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“A callback works like this: give a function to the object that knows about the event. When the event occurs…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 5,
                    "item": {
                        "@type": "Quotation",
                        "text": "“JavaScript doesn’t have a classical object-oriented model, where you create objects from classes. In fact, JavaScript doesn’t have classes at all. In JavaScript, objects inherit behavior from other objects, which we call prototypal inheritance, or inheritance based on prototypes.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/javascript-doesn-t-have-a-classical-object-oriented-model-where-you/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/fa7/eric-freeman-7573_quote_javascript-doesn-t-have-a-classical-obje_2103027.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/fa7/eric-freeman-7573_quote_javascript-doesn-t-have-a-classical-obje_2103027.jpg",
                            "url": "https://sms4smile.com/quotes/i/fa7/eric-freeman-7573_quote_javascript-doesn-t-have-a-classical-obje_2103027.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“JavaScript doesn’t have a classical object-oriented model, where you create objects from classes. In fact…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 6,
                    "item": {
                        "@type": "Quotation",
                        "text": "“Note that the JSON format doesn’t work with methods (so you can’t include, say, a bark method in your JSON string), but it does work with all the primitive types, as well as objects and arrays.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/note-that-the-json-format-doesn-t-work-with-methods-so-you-can-t/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/7bb/eric-freeman-7573_technology_note-that-the-json-format-doesn-t-work-w_2278360.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/7bb/eric-freeman-7573_technology_note-that-the-json-format-doesn-t-work-w_2278360.jpg",
                            "url": "https://sms4smile.com/quotes/i/7bb/eric-freeman-7573_technology_note-that-the-json-format-doesn-t-work-w_2278360.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“Note that the JSON format doesn’t work with methods (so you can’t include, say, a bark method in your JSON…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 7,
                    "item": {
                        "@type": "Quotation",
                        "text": "“A string is always a primitive unless you create it in a special way using an object constructor. We’ll talk about object constructors later. And you can always use the typeof operator on your variable to see if it is of type string or object.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/a-string-is-always-a-primitive-unless-you-create-it-in-a-special-way/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/d43/eric-freeman-7573_technology_a-string-is-always-a-primitive-unless-yo_3178359.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/d43/eric-freeman-7573_technology_a-string-is-always-a-primitive-unless-yo_3178359.jpg",
                            "url": "https://sms4smile.com/quotes/i/d43/eric-freeman-7573_technology_a-string-is-always-a-primitive-unless-yo_3178359.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“A string is always a primitive unless you create it in a special way using an object constructor. We’ll talk…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 8,
                    "item": {
                        "@type": "Quotation",
                        "text": "“The NoCommand object is an example of a null object. A null object is useful when you don’t have a meaningful object to return, and yet you want to remove the responsibility for handling null from the client.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/the-nocommand-object-is-an-example-of-a-null-object-a-null-object-is/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/9ac/eric-freeman-7573_quote_the-nocommand-object-is-an-example-of-a_1868789.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/9ac/eric-freeman-7573_quote_the-nocommand-object-is-an-example-of-a_1868789.jpg",
                            "url": "https://sms4smile.com/quotes/i/9ac/eric-freeman-7573_quote_the-nocommand-object-is-an-example-of-a_1868789.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“The NoCommand object is an example of a null object. A null object is useful when you don’t have a…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 9,
                    "item": {
                        "@type": "Quotation",
                        "text": "“The large number of acknowledgments is because we’re testing the theory that everyone mentioned in a book acknowledgment will buy at least one copy, probably more, what with relatives and everything. If you’d like to be in the acknowledgment of our next book, and you have a large family, write to us.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/the-large-number-of-acknowledgments-is-because-we-re-testing-the/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/e43/eric-freeman-7573_books_the-large-number-of-acknowledgments-is-b_1215389.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/e43/eric-freeman-7573_books_the-large-number-of-acknowledgments-is-b_1215389.jpg",
                            "url": "https://sms4smile.com/quotes/i/e43/eric-freeman-7573_books_the-large-number-of-acknowledgments-is-b_1215389.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“The large number of acknowledgments is because we’re testing the theory that everyone mentioned in a book…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 10,
                    "item": {
                        "@type": "Quotation",
                        "text": "“As it turns out, one of the things the new operator does behind the scenes when the object is created is to store information that allows it to determine, at any time, the constructor that created the object. And”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/as-it-turns-out-one-of-the-things-the-new-operator-does-behind-the/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/cca/eric-freeman-7573_behind-the-scenes_as-it-turns-out-one-of-the-things-the-ne_818748.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/cca/eric-freeman-7573_behind-the-scenes_as-it-turns-out-one-of-the-things-the-ne_818748.jpg",
                            "url": "https://sms4smile.com/quotes/i/cca/eric-freeman-7573_behind-the-scenes_as-it-turns-out-one-of-the-things-the-ne_818748.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“As it turns out, one of the things the new operator does behind the scenes when the object is created is to…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                }
            ]
        },
        {
            "@type": "Person",
            "@id": "https://sms4smile.com/quotes/author/eric-freeman/#person",
            "name": "Eric Freeman",
            "url": "https://sms4smile.com/quotes/author/eric-freeman/",
            "image": "https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b002/author-eric-freeman-7573.jpg"
        },
        {
            "@type": "ProfilePage",
            "@id": "https://sms4smile.com/quotes/author/eric-freeman/page/3/#webpage",
            "url": "https://sms4smile.com/quotes/author/eric-freeman/page/3/",
            "name": "Eric Freeman",
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "mainEntity": {
                "@id": "https://sms4smile.com/quotes/author/eric-freeman/#person"
            },
            "primaryImageOfPage": {
                "@id": "https://sms4smile.com/quotes/i/54d/eric-freeman-7573_computer-science_to-write-code-this-way-you-need-to-consi_2137327.jpg"
            },
            "description": "Eric Freeman has 90 quotes on SMS4Smile. Browse their most insightful sayings, across 27 categories.",
            "breadcrumb": {
                "@id": "https://sms4smile.com/quotes/author/eric-freeman/page/3/#breadcrumb"
            }
        },
        {
            "@type": "BreadcrumbList",
            "@id": "https://sms4smile.com/quotes/author/eric-freeman/page/3/#breadcrumb",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Authors",
                    "item": "https://sms4smile.com/quotes/authors/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "Eric Freeman",
                    "item": "https://sms4smile.com/quotes/author/eric-freeman/page/3/"
                }
            ]
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
