I find languages that support just one programming paradigm constraining.

Meaning of the quote

Bjarne Stroustrup, a Danish scientist, believes that programming languages that only allow one way of writing code are limiting. He thinks it's better to have languages that support multiple programming styles, so coders can choose the approach that works best for the task at hand.

About Bjarne Stroustrup

Bjarne Stroustrup, a Danish computer scientist, is known for developing the C++ programming language. He has held various prestigious positions, including leading the Large-scale Programming Research department at Bell Labs, serving as a professor at Texas A&M University, and working at Morgan Stanley while also being a visiting professor at Columbia University. Since 2022, he has been a full professor at Columbia.

More about the author

More quotes from Bjarne Stroustrup

This evolution may compromise Java’s claim of being simpler than C++, but my guess is that the effort will make Java a better language than it is today.

Bjarne Stroustrup

Danish computer scientist, creator of C++

I would encourage nonproprietary standards for tools and libraries.

Bjarne Stroustrup

Danish computer scientist, creator of C++

My list of basic tools is a partial answer to the question about what has changed: Over the past few years, large numbers of programmers have come to depend on elaborate tools to interface code with systems facilities.

Bjarne Stroustrup

Danish computer scientist, creator of C++

However, when Java is promoted as the sole programming language, its flaws and limitations become serious.

Bjarne Stroustrup

Danish computer scientist, creator of C++

Certainly not every good program is object-oriented, and not every object-oriented program is good.

Bjarne Stroustrup

Danish computer scientist, creator of C++

After all, C++ isn’t a perfect match for Java’s design aims either.

Bjarne Stroustrup

Danish computer scientist, creator of C++

It is easy to study the rules of overloading and of templates without noticing that together they are one of the keys to elegant and efficient type-safe containers.

Bjarne Stroustrup

Danish computer scientist, creator of C++

First, I’d like to see the basic tools such as compilers, debuggers, profilers, database interfaces, GUI builders, CAD tools, and so forth fully support the ISO standard.

Bjarne Stroustrup

Danish computer scientist, creator of C++

The standard library saves programmers from having to reinvent the wheel.

Bjarne Stroustrup

Danish computer scientist, creator of C++

I find languages that support just one programming paradigm constraining.

Bjarne Stroustrup

Danish computer scientist, creator of C++

Defining OO as based on the use of class hierarchies and virtual functions is also practical in that it provides some guidance as to where OO is likely to be successful.

Bjarne Stroustrup

Danish computer scientist, creator of C++

Clearly, I reject the view that there is one way that is right for everyone and for every problem.

Bjarne Stroustrup

Danish computer scientist, creator of C++

Thus, the standard library will serve as both a tool and as a teacher.

Bjarne Stroustrup

Danish computer scientist, creator of C++

People who passionately want to believe that the world is basically simple react to this with a fury that goes beyond what I consider appropriate for discussing a programming language.

Bjarne Stroustrup

Danish computer scientist, creator of C++

Personally, I look forward to better tools for analyzing C++ source code.

Bjarne Stroustrup

Danish computer scientist, creator of C++

With the increasing importance of standards for system-level objects such as COM and CORBA, it is particularly important that the C++ bindings to those be clean, well documented, and simple to use.

Bjarne Stroustrup

Danish computer scientist, creator of C++