# Why are scalars iterable when broadcasting would still work fine if they weren't?

**URL:** https://discourse.julialang.org/t/why-are-scalars-iterable-when-broadcasting-would-still-work-fine-if-they-werent/84785
**Category:** Internals & Design
**Tags:** question, offtopic
**Created:** [July 26, 2022, 3:15am UTC](https://discourse.julialang.org/t/why-are-scalars-iterable-when-broadcasting-would-still-work-fine-if-they-werent/84785 "2022-07-26T03:15:43Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [July 26, 2022, 3:24am UTC](https://discourse.julialang.org/t/why-are-scalars-iterable-when-broadcasting-would-still-work-fine-if-they-werent/84785/3 "2022-07-26T03:24:11Z")

</div>

See [Map vs list comprehension - #9 by stevengj](https://discourse.julialang.org/t/map-vs-list-comprehension/916/9)

---

_[View the full topic](https://discourse.julialang.org/t/why-are-scalars-iterable-when-broadcasting-would-still-work-fine-if-they-werent/84785)._
