# Make concrete classes final by default

**URL:** <https://contributors.scala-lang.org/t/make-concrete-classes-final-by-default/2058>\
**Category:** Language Design\
**Created:** [July 16, 2018, 12:54am UTC](https://contributors.scala-lang.org/t/make-concrete-classes-final-by-default/2058 "2018-07-16T00:54:54Z")\
**Posts on this page:** 1\
**Showing post:** 100

<div class="post-metadata">

**Author:** ![AMatveev](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/amatveev/32/847_2.png) [@AMatveev](https://contributors.scala-lang.org/u/AMatveev)\
**Post date:** [September 6, 2018, 3:10pm UTC](https://contributors.scala-lang.org/t/make-concrete-classes-final-by-default/2058/100 "2018-09-06T15:10:33Z")

</div>

May be it is interesting

> [@sjrd](#):
>
> I don’t want to be driven into burnout by angry users of my free stuff.

The aim to decrease coupling clear and correct it is the golden rule.  
I am just wondering why when I had told about interfaces I was responded

> [@sjrd](#):
>
> I guess we disagree 😉

I really believe that James Gosling (Java’s inventor) is right when he said:  
[Programming to interfaces is at the core of flexible structure.](https://www.javaworld.com/article/2073649/core-java/why-extends-is-evil.html)

It is interesting that he said:  
_During the memorable Q&A session, someone asked him: “If you could do Java over again, what would you change?” “I’d leave out classes,” he replied._

So I think the finalizing the class is not a perfect decision. It is just freezing the problem.  
May be it works good somewhere. But not in general.  
By the way language designs that decouple inheritance from subtyping (interface inheritance) appeared as early as 1990;[[19]](https://en.wikipedia.org/wiki/Inheritance_(object-oriented_programming)#cite_note-20) a modern example of this is the [Go](https://en.wikipedia.org/wiki/Go_(programming_language)) programming language.

---

_[View the full topic](https://contributors.scala-lang.org/t/make-concrete-classes-final-by-default/2058)._
