# Wondering if extending Base: max with max(a) = max(a...) would be safe?!

**URL:** <https://discourse.julialang.org/t/wondering-if-extending-base-max-with-max-a-max-a-would-be-safe/126885>\
**Category:** General Usage\
**Created:** [March 12, 2025, 6:31pm UTC](https://discourse.julialang.org/t/wondering-if-extending-base-max-with-max-a-max-a-would-be-safe/126885 "2025-03-12T18:31:09Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [March 12, 2025, 10:02pm UTC](https://discourse.julialang.org/t/wondering-if-extending-base-max-with-max-a-max-a-would-be-safe/126885/7 "2025-03-12T22:02:45Z")

</div>

> [@Sukera](#):
>
> And to mention the last edge case: What should `max([])` (which would result in `max()`) be?

Presumaby the same as `maximum` of an empty collection, which currently throws; see also [Extend the domain of maximum and minimum to include empty collection? - #3 by klacru](https://discourse.julialang.org/t/extend-the-domain-of-maximum-and-minimum-to-include-empty-collection/5135/3)

---

_[View the full topic](https://discourse.julialang.org/t/wondering-if-extending-base-max-with-max-a-max-a-would-be-safe/126885)._
