# Difference between abstract def and def

**URL:** <https://forum.crystal-lang.org/t/difference-between-abstract-def-and-def/998>\
**Category:** Help & Support\
**Created:** [July 27, 2019, 3:33am UTC](https://forum.crystal-lang.org/t/difference-between-abstract-def-and-def/998 "2019-07-27T03:33:52Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![girng](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/girng/32/127_2.png) [@girng](https://forum.crystal-lang.org/u/girng)\
**Post date:** [July 27, 2019, 4:34am UTC](https://forum.crystal-lang.org/t/difference-between-abstract-def-and-def/998/7 "2019-07-27T04:34:06Z")

</div>

> [@watzon](#):
>
> Database adapters are a good example. You have a Base class that contains all the methods that the adapters need to include, then each adapter is free to do things their own way as long as they all have the necessary methods.

This makes sense, actually.

Why is it called `abstract`, though?

Shouldn’t it be called something else more clear? Abstract is quite ambiguous…

---

_[View the full topic](https://forum.crystal-lang.org/t/difference-between-abstract-def-and-def/998)._
