SqueakByExample-english icon indicating copy to clipboard operation
SqueakByExample-english copied to clipboard

Minor concepts that could be mentioned in the book

Open LinqLover opened this issue 4 years ago • 7 comments

Just brainstorming. No claim for completeness. Please feel free to ~~~~strike through~~~~ bad ideas. :-)


Tools:

  • [x] Inspector: custom fields (since Squeak 6.0) (see #135)
  • [x] Debugger menus: Return value, run to selection, run until criterion (see #122)
  • [ ] CodeHolder menu: Set breakpoints (see #122), find test/tested item
  • [ ] (Morphic) Useful halo menu items: Debug/browse button action, debug list invocation, etc.; debug dialog invocation for dialog windows (IMHO important concept to explore any UI)

SUnit:

  • [x] Explain #tearDown concept analogously to #setUp
  • [x] Run tests from CodeHolder menu

Language concepts:

  • [x] SortFunctions
  • [ ] read-only objects (since Squeak 6.0) - or is this unnecessarily meta and https://github.com/hpi-swa-lab/SqueakByExample-english/pull/43/files#diff-8118467e3b776022d07a87b1c91f29054a50d6f11cffbcfa3c28cb5e12fac42dR378-R385 suffices?
  • [x] Should we explicitly suggest Symbol >> #value:[value:]?
  • [ ] futures? (see #121)
  • [ ] more details on regex: special syntaxes in Squeak (e.g., :isDigit:); partial matches (#search:); retrieving subexpressions

LinqLover avatar Oct 15 '20 16:10 LinqLover

  • Explain #tearDown concept analogously to #setUp
  • Run tests from CodeHolder menu

Are now in the book :)

codeZeilen avatar Oct 27 '20 12:10 codeZeilen

Great! If you'd like to source out some of the points to me, I'm there ... :-)

LinqLover avatar Oct 27 '20 13:10 LinqLover

@LinqLover How do you fell about adding SortFunctions for the 5.3 release? If you have time and energy, maybe you could add them to 9.5 and add a forward reference in the SortedCollection section in 9.3? Also a short note (same example suffices) should be added to A.2 FAQ 6.

codeZeilen avatar Dec 04 '20 11:12 codeZeilen

Sounds interesting! What would be the deadline for that (is it still today)? I think I could find some time until next weekend (i.e. in ~8 days) ...

LinqLover avatar Dec 04 '20 11:12 LinqLover

Next weekend sounds perfectly fine :) It will take me until next week to gather the remaining feedback and implement it.

codeZeilen avatar Dec 04 '20 12:12 codeZeilen

@codeZeilen Please see #88. Also, I added some new ideas to the list above :-)

LinqLover avatar Dec 12 '20 20:12 LinqLover

@codeZeilen Unfortunately, I forgot to take notes on our decision for this issue (or we did not talk about it). Is or should this be part of the milestone for 6.0, and with which of the proposed additions would you agree? :)

LinqLover avatar Nov 09 '22 12:11 LinqLover