pharo-smalltalk icon indicating copy to clipboard operation
pharo-smalltalk copied to clipboard

Consider consistency for the exercises

Open kytrinyx opened this issue 7 years ago • 4 comments

  • Is there a style guide for Pharo?
  • Are these styles encouraged or enforced?
  • Are there any conventions that we should adopt on this track for the sake of consistency?
  • Can we enforce these?
  • Is there a linter? Are there many? Should we use one?
  • When you add a linter, edit the pull request template [link]
  • Update the pull request template with checks that are appropriate for this track
  • Is there a common convention for filenames? If not, what should our convention be?

Note that this is about the exercises (the test suites and code examples), not people's solutions.

kytrinyx avatar Jun 10 '18 17:06 kytrinyx

There is no style guide for Pharo but we can use "Smalltalk with Style" book : http://sdmeta.gforge.inria.fr/FreeBooks/WithStyle/SmalltalkWithStyle.pdf

SergeStinckwich avatar Jun 30 '18 17:06 SergeStinckwich

I've put a reference to this in the readme and docs - but need to see how it looks on the site (when we get it up in beta)

macta avatar Jul 27 '18 23:07 macta

Pharo has a built in - as you type - linter, but it’s just suggestions.

Might be able to add that to the build tho. Need to talk to Uko to see how easy this is.

macta avatar Jul 30 '18 07:07 macta

Pharo has a built in - as you type - linter, but it’s just suggestions.

Might be able to add that to the build tho. Need to talk to Uko to see how easy this is.

macta avatar Jul 30 '18 17:07 macta