# What interface bugs have you ran into in the ecosystem?

**URL:** https://discourse.julialang.org/t/what-interface-bugs-have-you-ran-into-in-the-ecosystem/109001
**Category:** General Usage
**Tags:** question
**Created:** [January 19, 2024, 8:11am UTC](https://discourse.julialang.org/t/what-interface-bugs-have-you-ran-into-in-the-ecosystem/109001 "2024-01-19T08:11:23Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![sijo](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@sijo](https://discourse.julialang.org/u/sijo)
#### Post date: [January 19, 2024, 9:54am UTC](https://discourse.julialang.org/t/what-interface-bugs-have-you-ran-into-in-the-ecosystem/109001/7 "2024-01-19T09:54:30Z")

</div>

Two examples I mentioned in a previous post:

- Need for explicit interface specifications: [I could not figure out](https://discourse.julialang.org/t/making-a-simple-wrapper-for-an-io-stream/52587) how to implement the IO interface to solve a simple problem (counting bytes written to a stream).

- Need for dispatch on interfaces: I wanted to implement a fallback `last` method for iterators. The interface is documented, but I can’t define `last(::Iterator)`. I could not find a backward-compatible solution that dispatches without runtime penalty so I [gave up](https://discourse.julialang.org/t/getting-the-last-element-of-an-iterator/49696/39).

Another classical case I think:

- The `redirect_stdio` documentation says

---

_[View the full topic](https://discourse.julialang.org/t/what-interface-bugs-have-you-ran-into-in-the-ecosystem/109001)._
