Skip to content

Comments

PF2 2026#10

Merged
bvlj merged 27 commits intomainfrom
staging/26.x
Feb 3, 2026
Merged

PF2 2026#10
bvlj merged 27 commits intomainfrom
staging/26.x

Conversation

@bvlj
Copy link
Contributor

@bvlj bvlj commented Feb 2, 2026

No description provided.

@bvlj bvlj self-assigned this Feb 2, 2026
@bvlj bvlj linked an issue Feb 2, 2026 that may be closed by this pull request
Closed
3 tasks
bvlj and others added 23 commits February 2, 2026 16:30
It was unsealed in case we wanted to have some lab that re-implements
Cons and Empty, but it's better to keep this one sealed and if we ever
end up doing that, we'll just have students implement the interface as
well.
For consistency with other methods
We need it for optics
- Lenses for each component
- Traversals for components of type Sequence
- Move all demo to the example package
- Fix octaves (they've been wrong for several years!)
- Reformats
These are covered by the tests already
- Make all variables final where possible
- Add final modifier to all classes
- Add private constructor to all classes
- Make all class methods other than main private
- Allow to run only a specific subsets of demo from Application
java.lang.IO is now a thing and it's going to clash with jtamaro.io.IO
when students work in their IDEs.

Let's refactor the big IO class into 3, each one focusing on performing
IO in some specific way:

- GraphicsIO: interacting with the Java GUI
- FilesIO: interacting with files
- StdIO: interacting with stdin and stderr
- Add more documentation
- Rename FilmStripCanvas to GuiFilmStripCanvas to match naming of other
  classes
- Move Graphics#renderableColor to Colors#toAwtColor
- Class names are in bold
- Colors now have the #RRGGBB part of their textual representation
  colored with the actual color
- Field names are dimmed
- Children begin "inline" rather than on a new line
@bvlj bvlj merged commit dca8cfe into main Feb 3, 2026
1 check passed
@bvlj bvlj deleted the staging/26.x branch February 3, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

26.x

2 participants