teapawtteapawt
  • Timeline
  • Grid
  • Gallery
Triangle Java@TriangleJava22 Feb 2023
We had a great turnout for our first in-person meetup of 2023. Great job @rhagarty8 and thanks to @DeutscheBank for hosting and providing pizza!
1
1
5
271
Triangle Java@TriangleJava23 May 2021
3/ JEP 406 also introduces "guard patterns", kind of like adding an if statement to your switches. This should simplify a lot of switch logic! In this case, Large and Small triangles are defined on the left side of the switch, rather than in an if-statement on the right side.
1
1
Triangle Java@TriangleJava23 May 2021
2/ With pattern matching for switch, we can write code like this, where we test for a type on the left and use it directly on the right without having to cast it ourselves.
1
1
1
Load more