---
title: "9 Joshua Bloch Quotes - Famous Engineer (Effective Java)"
description: "Joshua J. Bloch is an American software engineer and a technology author. Browse 9 Joshua Bloch quotes."
image: "https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b033/author-joshua-bloch-43232.jpg"
---

![Portrait of Joshua Bloch](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b033/author-joshua-bloch-43232.jpg)

# Joshua Bloch

(1961–1957)   Engineer   United States

 **9** quotes in **34** categories

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

Joshua Bloch was an engineer from the United States, best known for *Effective Java*.

## Quick Facts About Joshua Bloch

Born August 28, 1961

Died September 26, 1957

Nationality United States

Profession Engineer

Notable works Effective Java

## About Joshua Bloch

Joshua J. Bloch is an American software engineer and a technology author.

##  Quotes by Joshua Bloch

> [Favor composition over inheritance,](https://sms4smile.com/quotes/joshua-bloch/favor-composition-over-inheritance/)

[Joshua Bloch](https://sms4smile.com/quotes/author/joshua-bloch/)

[Image](https://sms4smile.com/quotes/i/fd8/joshua-bloch-43232_composition_favor-composition-over-inheritance-73148_731484.png)

> [When in doubt, leave it out.](https://sms4smile.com/quotes/joshua-bloch/when-in-doubt-leave-it-out/)

[Joshua Bloch](https://sms4smile.com/quotes/author/joshua-bloch/)

[Doubt](https://sms4smile.com/quotes/about/doubt/)

[Image](https://sms4smile.com/quotes/i/5ec/joshua-bloch-43232_doubt_when-in-doubt-leave-it-out-38276_38276.png)

> [One advantage of static factory methods is that, unlike constructors, they have names.](https://sms4smile.com/quotes/joshua-bloch/one-advantage-of-static-factory-methods-is-that-unlike-constructors/)

[Joshua Bloch](https://sms4smile.com/quotes/author/joshua-bloch/)

[Advantage](https://sms4smile.com/quotes/about/advantage/)

[Image](https://sms4smile.com/quotes/i/8a4/joshua-bloch-43232_advantage_one-advantage-of-static-factory-methods_1876137.png)

> [It is hard to write even the smallest piece of code correctly.](https://sms4smile.com/quotes/joshua-bloch/it-is-hard-to-write-even-the-smallest-piece-of-code-correctly/)

[Joshua Bloch](https://sms4smile.com/quotes/author/joshua-bloch/)

[Code](https://sms4smile.com/quotes/about/code/)

[Image](https://sms4smile.com/quotes/i/81e/joshua-bloch-43232_code_it-is-hard-to-write-even-the-smallest-pi_2950647.png)

> [When you choose a language, you're choosing more than a set of technical trade-offs-you're choosing a community.](https://sms4smile.com/quotes/joshua-bloch/when-you-choose-a-language-you-re-choosing-more-than-a-set-of/)

[Joshua Bloch](https://sms4smile.com/quotes/author/joshua-bloch/)

[Image](https://sms4smile.com/quotes/i/fc3/joshua-bloch-43232_choosing_when-you-choose-a-language-you-re-choosi_1073052.png)

> [The cleaner and nicer the program, the faster it's going to run. And if it doesn't, it'll be easy to make it…](https://sms4smile.com/quotes/joshua-bloch/the-cleaner-and-nicer-the-program-the-faster-it-s-going-to-run-and-if/)

[Joshua Bloch](https://sms4smile.com/quotes/author/joshua-bloch/)

[Image](https://sms4smile.com/quotes/i/b0d/joshua-bloch-43232_cleaners_the-cleaner-and-nicer-the-program-the-fa_629861.png)

> [“Builder pattern is more verbose than the telescoping constructor pattern, so it should be used only if there are enough parameters, say,…](https://sms4smile.com/quotes/joshua-bloch/builder-pattern-is-more-verbose-than-the-telescoping-constructor/)

[Joshua Bloch](https://sms4smile.com/quotes/author/joshua-bloch/)

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

[Image](https://sms4smile.com/quotes/i/f8c/joshua-bloch-43232_technology_builder-pattern-is-more-verbose-than-the_150336.jpg)

> [“A second advantage of static factory methods is that, unlike constructors, they are not required to create a new object each time…](https://sms4smile.com/quotes/joshua-bloch/a-second-advantage-of-static-factory-methods-is-that-unlike/)

[Joshua Bloch](https://sms4smile.com/quotes/author/joshua-bloch/)

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

[Image](https://sms4smile.com/quotes/i/0a3/joshua-bloch-43232_technology_a-second-advantage-of-static-factory-met_3048061.png)

> [What I do instead is I will cheerfully spend literally hours on identifier names: variable names, method names, and so forth, to…](https://sms4smile.com/quotes/joshua-bloch/what-i-do-instead-is-i-will-cheerfully-spend-literally-hours-on/)

[Joshua Bloch](https://sms4smile.com/quotes/author/joshua-bloch/)

[Code](https://sms4smile.com/quotes/about/code/)

[Image](https://sms4smile.com/quotes/i/e52/joshua-bloch-43232_code_what-i-do-instead-is-i-will-cheerfully-s_2768209.png)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "ItemList",
            "@id": "https://sms4smile.com/quotes/author/joshua-bloch/#itemlist",
            "name": "Joshua Bloch Quotes",
            "numberOfItems": 9,
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "item": {
                        "@type": "Quotation",
                        "text": "Favor composition over inheritance,",
                        "creator": {
                            "@type": "Person",
                            "name": "Joshua Bloch"
                        },
                        "url": "https://sms4smile.com/quotes/joshua-bloch/favor-composition-over-inheritance/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/fd8/joshua-bloch-43232_composition_favor-composition-over-inheritance-73148_731484.png",
                            "contentUrl": "https://sms4smile.com/quotes/i/fd8/joshua-bloch-43232_composition_favor-composition-over-inheritance-73148_731484.png",
                            "url": "https://sms4smile.com/quotes/i/fd8/joshua-bloch-43232_composition_favor-composition-over-inheritance-73148_731484.png",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“Favor composition over inheritance,” — Joshua Bloch",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "item": {
                        "@type": "Quotation",
                        "text": "When in doubt, leave it out.",
                        "creator": {
                            "@type": "Person",
                            "name": "Joshua Bloch"
                        },
                        "url": "https://sms4smile.com/quotes/joshua-bloch/when-in-doubt-leave-it-out/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/5ec/joshua-bloch-43232_doubt_when-in-doubt-leave-it-out-38276_38276.png",
                            "contentUrl": "https://sms4smile.com/quotes/i/5ec/joshua-bloch-43232_doubt_when-in-doubt-leave-it-out-38276_38276.png",
                            "url": "https://sms4smile.com/quotes/i/5ec/joshua-bloch-43232_doubt_when-in-doubt-leave-it-out-38276_38276.png",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“When in doubt, leave it out.” — Joshua Bloch",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "item": {
                        "@type": "Quotation",
                        "text": "One advantage of static factory methods is that, unlike constructors, they have names.",
                        "creator": {
                            "@type": "Person",
                            "name": "Joshua Bloch"
                        },
                        "url": "https://sms4smile.com/quotes/joshua-bloch/one-advantage-of-static-factory-methods-is-that-unlike-constructors/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/8a4/joshua-bloch-43232_advantage_one-advantage-of-static-factory-methods_1876137.png",
                            "contentUrl": "https://sms4smile.com/quotes/i/8a4/joshua-bloch-43232_advantage_one-advantage-of-static-factory-methods_1876137.png",
                            "url": "https://sms4smile.com/quotes/i/8a4/joshua-bloch-43232_advantage_one-advantage-of-static-factory-methods_1876137.png",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“One advantage of static factory methods is that, unlike constructors, they have names.” — Joshua Bloch",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "item": {
                        "@type": "Quotation",
                        "text": "It is hard to write even the smallest piece of code correctly.",
                        "creator": {
                            "@type": "Person",
                            "name": "Joshua Bloch"
                        },
                        "url": "https://sms4smile.com/quotes/joshua-bloch/it-is-hard-to-write-even-the-smallest-piece-of-code-correctly/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/81e/joshua-bloch-43232_code_it-is-hard-to-write-even-the-smallest-pi_2950647.png",
                            "contentUrl": "https://sms4smile.com/quotes/i/81e/joshua-bloch-43232_code_it-is-hard-to-write-even-the-smallest-pi_2950647.png",
                            "url": "https://sms4smile.com/quotes/i/81e/joshua-bloch-43232_code_it-is-hard-to-write-even-the-smallest-pi_2950647.png",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“It is hard to write even the smallest piece of code correctly.” — Joshua Bloch",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 5,
                    "item": {
                        "@type": "Quotation",
                        "text": "When you choose a language, you're choosing more than a set of technical trade-offs-you're choosing a community.",
                        "creator": {
                            "@type": "Person",
                            "name": "Joshua Bloch"
                        },
                        "url": "https://sms4smile.com/quotes/joshua-bloch/when-you-choose-a-language-you-re-choosing-more-than-a-set-of/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/fc3/joshua-bloch-43232_choosing_when-you-choose-a-language-you-re-choosi_1073052.png",
                            "contentUrl": "https://sms4smile.com/quotes/i/fc3/joshua-bloch-43232_choosing_when-you-choose-a-language-you-re-choosi_1073052.png",
                            "url": "https://sms4smile.com/quotes/i/fc3/joshua-bloch-43232_choosing_when-you-choose-a-language-you-re-choosi_1073052.png",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“When you choose a language, you're choosing more than a set of technical trade-offs-you're choosing a…” — Joshua Bloch",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 6,
                    "item": {
                        "@type": "Quotation",
                        "text": "The cleaner and nicer the program, the faster it's going to run. And if it doesn't, it'll be easy to make it fast.",
                        "creator": {
                            "@type": "Person",
                            "name": "Joshua Bloch"
                        },
                        "url": "https://sms4smile.com/quotes/joshua-bloch/the-cleaner-and-nicer-the-program-the-faster-it-s-going-to-run-and-if/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/b0d/joshua-bloch-43232_cleaners_the-cleaner-and-nicer-the-program-the-fa_629861.png",
                            "contentUrl": "https://sms4smile.com/quotes/i/b0d/joshua-bloch-43232_cleaners_the-cleaner-and-nicer-the-program-the-fa_629861.png",
                            "url": "https://sms4smile.com/quotes/i/b0d/joshua-bloch-43232_cleaners_the-cleaner-and-nicer-the-program-the-fa_629861.png",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“The cleaner and nicer the program, the faster it's going to run. And if it doesn't, it'll be easy to make it…” — Joshua Bloch",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 7,
                    "item": {
                        "@type": "Quotation",
                        "text": "“Builder pattern is more verbose than the telescoping constructor pattern, so it should be used only if there are enough parameters, say, four or more.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Joshua Bloch"
                        },
                        "url": "https://sms4smile.com/quotes/joshua-bloch/builder-pattern-is-more-verbose-than-the-telescoping-constructor/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/f8c/joshua-bloch-43232_technology_builder-pattern-is-more-verbose-than-the_150336.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/f8c/joshua-bloch-43232_technology_builder-pattern-is-more-verbose-than-the_150336.jpg",
                            "url": "https://sms4smile.com/quotes/i/f8c/joshua-bloch-43232_technology_builder-pattern-is-more-verbose-than-the_150336.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“Builder pattern is more verbose than the telescoping constructor pattern, so it should be used only if there…” — Joshua Bloch",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 8,
                    "item": {
                        "@type": "Quotation",
                        "text": "“A second advantage of static factory methods is that, unlike constructors, they are not required to create a new object each time they're invoked.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Joshua Bloch"
                        },
                        "url": "https://sms4smile.com/quotes/joshua-bloch/a-second-advantage-of-static-factory-methods-is-that-unlike/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/0a3/joshua-bloch-43232_technology_a-second-advantage-of-static-factory-met_3048061.png",
                            "contentUrl": "https://sms4smile.com/quotes/i/0a3/joshua-bloch-43232_technology_a-second-advantage-of-static-factory-met_3048061.png",
                            "url": "https://sms4smile.com/quotes/i/0a3/joshua-bloch-43232_technology_a-second-advantage-of-static-factory-met_3048061.png",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“A second advantage of static factory methods is that, unlike constructors, they are not required to create a…” — Joshua Bloch",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 9,
                    "item": {
                        "@type": "Quotation",
                        "text": "What I do instead is I will cheerfully spend literally hours on identifier names: variable names, method names, and so forth, to make my code readable. If you read some expression using these identifiers and it reads like an English sentence, your program is much more likely to be correct, and much easier to maintain.",
                        "creator": {
                            "@type": "Person",
                            "name": "Joshua Bloch"
                        },
                        "url": "https://sms4smile.com/quotes/joshua-bloch/what-i-do-instead-is-i-will-cheerfully-spend-literally-hours-on/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/e52/joshua-bloch-43232_code_what-i-do-instead-is-i-will-cheerfully-s_2768209.png",
                            "contentUrl": "https://sms4smile.com/quotes/i/e52/joshua-bloch-43232_code_what-i-do-instead-is-i-will-cheerfully-s_2768209.png",
                            "url": "https://sms4smile.com/quotes/i/e52/joshua-bloch-43232_code_what-i-do-instead-is-i-will-cheerfully-s_2768209.png",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“What I do instead is I will cheerfully spend literally hours on identifier names: variable names, method…” — Joshua Bloch",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                }
            ]
        },
        {
            "@type": "Person",
            "@id": "https://sms4smile.com/quotes/author/joshua-bloch/#person",
            "name": "Joshua Bloch",
            "url": "https://sms4smile.com/quotes/author/joshua-bloch/",
            "image": "https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b033/author-joshua-bloch-43232.jpg"
        },
        {
            "@type": "ProfilePage",
            "@id": "https://sms4smile.com/quotes/author/joshua-bloch/#webpage",
            "url": "https://sms4smile.com/quotes/author/joshua-bloch/",
            "name": "Joshua Bloch",
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "mainEntity": {
                "@id": "https://sms4smile.com/quotes/author/joshua-bloch/#person"
            },
            "primaryImageOfPage": {
                "@id": "https://sms4smile.com/quotes/i/fd8/joshua-bloch-43232_composition_favor-composition-over-inheritance-73148_731484.png"
            },
            "description": "Joshua J. Bloch is an American software engineer and a technology author. Browse 9 Joshua Bloch quotes.",
            "breadcrumb": {
                "@id": "https://sms4smile.com/quotes/author/joshua-bloch/#breadcrumb"
            }
        },
        {
            "@type": "BreadcrumbList",
            "@id": "https://sms4smile.com/quotes/author/joshua-bloch/#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": "Joshua Bloch",
                    "item": "https://sms4smile.com/quotes/author/joshua-bloch/"
                }
            ]
        },
        {
            "@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
            }
        }
    ]
}
```
