rustbox / esp32c3-vgaterm

VGA Driver and Serial Terminal crates, with embedded applications in mind
MIT License
1 stars 0 forks source link

Discuss Immutabalizing the Terminal structs more #11

Open dougli1sqrd opened 1 year ago

dougli1sqrd commented 1 year ago

you give me back my immutable data this instant, young man! in this project, we do not use object-oriented styles out in public! what do you think this is, C++?

Kidding aside, this strikes me as something to keep an eye on: I'm more likely to delete a &mut self than I am to add one, and it seems like you're coming from the opposite end. No specific action to take, just wanted to note a tension that I suspect we're going to feel again.

_Originally posted by @sethp in https://github.com/rustbox/esp32c3-vgaterm/pull/9#discussion_r1096161394_