# Default extent considered harmful

**URL:** <https://forum.opencyphal.org/t/default-extent-considered-harmful/972>\
**Category:** Specification\
**Created:** [October 28, 2020, 6:20am UTC](https://forum.opencyphal.org/t/default-extent-considered-harmful/972 "2020-10-28T06:20:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [October 28, 2020, 11:55pm UTC](https://forum.opencyphal.org/t/default-extent-considered-harmful/972/2 "2020-10-28T23:55:58Z")

</div>

> [@Data type extensibility and composition](https://forum.opencyphal.org/t/data-type-extensibility-and-composition/827/20):
>
> > [@Data type extensibility and composition](https://forum.opencyphal.org/t/data-type-extensibility-and-composition/827/19):
> >
> > I’d rather make @sealed the default since this also gets rid of the default extent formula and makes naive implementations or prototyping with UAVCAN more immediate and successful. It seems like any datatype author would start with a prototype and only need to think about the future when finalizing a design. It’s in this later phase of a project that one would take the time to calculate extents properly.
> 
> I think **your assumption that a developer would sit down and think about the future is unsound**. My experience indicates that people rarely do that, so we should either force them to (make `@extent` required) or do it for them (default extent plus the tooling approach).

The image of an innocent developer who suddenly realized that a sealed data type that’s been deployed in a gazillion units needs updating haunts me by day and night.

> 1. Nobody Reads the Manual
> 2. You Can’t Force People to do the Right Thing

This is true but surely we can force people to read the manual. Would it be an acceptable solution if we made it necessary to specify either `@sealed` or `@extent <...>`? My assumption here that the time it takes to type `@-s-e-a-l-e-d` is enough to question why are you doing it and what are the implications.

It does raise the entry barrier a notch, but then again, maybe it should. Maybe the developer should be forced to think about the future. Maybe we should also instill a bit of existential crisis for good measure.

---

_[View the full topic](https://forum.opencyphal.org/t/default-extent-considered-harmful/972)._
