User contributions for 2600:4040:767E:4600:B0E2:7424:AC7:C066
Appearance
Results for 2600:4040:767E:4600:B0E2:7424:AC7:C066 talk block log logs global block log filter log
3 November 2023
- 18:5018:50, 3 November 2023 diff hist −128 Scala (programming language) →Example with classes: Removed the clarification needed annotation since the missing method was added to the Scala example Tag: Visual edit
- 18:4918:49, 3 November 2023 diff hist +463 Talk:Scala (programming language) →"Point" class code example and addToGrid(): Reply Tag: Reply
- 18:4118:41, 3 November 2023 diff hist +268 Scala (programming language) First, I changed the method addToGrid in the Java example to addPoint, since it really just adds one point to another (it only "adds to grid" in the special case when it is called on the static Point.grid instance. Second, I added the method += to the Scala version of Point to (a) provide a missing method that was originally invoked as addToGrid and (b) illustrate that Scala is capable of defining operators. Third, I added a bullet highlighting the Tag: Visual edit