-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open pull requests on all tracks to normalize topics #83
Comments
One thing I am still not clear on: can tracks use topics not in the master list? As this moves forward will all topics have to be centrally controlled? The more I dig into config files the more I find that topics not on the TOPICS.txt file are included. Should we pull those into TOPICS.txt? |
Yes, absolutely! What we're aiming for in the TOPICS list is the topics that are generally useful for more than one track. This will help us be consistent when we actually mean the same thing (but not force us to be consistent where it doesn't make sense).
No, I don't think that is useful.
I think it would be worth having something that automatically lists out topics that are not on the list so we can evaluate whether or not they're in the bucket of "probably useful for lots of tracks" topics. |
@kytrinyx attached is a (zipped) dump of all topics, frequency and track use. It is in CSV format so you can view as a spreadsheet. I had to lowercase all the topics to keep things from artificially splitting. |
@tleen This is awesome, thank you! |
If it is helpful to anybody I formalized the tooling used to get that data dump above. Some quick command line tools to help get an overall understanding of all the configurations in Exercism. It is still sort of rough but works. This is more of meta configuration analysis so I did it separately from configlet which generally handles configuration on one track at a time. It is mostly to get my head around how other tracks are handling the re-configuration. There are three sofar, if anyone else can find them helpful:
You can now recreate the topics data above whenever needed: exercism-uniconfig | exercism-config-visualizations topics --format csv Also interesting: average difficulty and number of topics per exercise across all tracks (see how alike ecmascript and javascript are):
|
This is so great, @tleen! |
@tleen, thanks! |
@tleen these are really interesting stats! |
Yeah fun isn't it? 😄 |
I can't tell if this is a thing for nexercism. Seem like bash and r have gone full fledged into lowercase_underscore_slug mode, the rest of us not_so_much. It seems to work just fine if we don't. At the same time, change can catalyst change. I'm spending time on tightening up TOPICS, do we want to normalize this for Nextercism? |
Lower case underscore would be perfect. We can titleize them in Rails then where appropriate. Also, short is better where possible, so that we can display as many as possible next to an exercise on a card. Thank you. |
Be good to also consider what to do with topics such as |
Voting for |
Once we get a confirmed consensus it's a fairly simple update to the |
It sounds like there's consensus here on all lowercase with underscores, no parens (or other special characters). That sounds very sensible to me. I'm going to go ahead and make the call. |
For "control_flow_conditionals" can we just have "conditionals" please?
Simpler for beginners (one jargon word not three) and shorter so we can fit
more of them on cards.
…On Tue, 22 Aug 2017, 15:20 Katrina Owen ***@***.***> wrote:
It sounds like there's consensus here on all lowercase with underscores,
no parens (or other special characters).
That sounds very sensible to me. I'm going to go ahead and make the call.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#83 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AARfDIqMnLX_nuWy07B-jd4Ls1fYNEa6ks5sauOogaJpZM4OuwlE>
.
|
control_flow_* are an odd group of topics, they are massively general and as such probably inconsistently used everywhere. I tried to avoid them unless there was something about the control flow that made it a core requirement of the exercise. Control flow is an aspect of almost any non-trivial program. Its like having a topic for |
I struggled with this one when trying to restructure the bash track. It felt like the first time if statements or for loops or while loops are introduced, it's useful for it to be a real topic, but the rest of the time, not so much. |
Would it make sense to rewrite the TOPICS.txt list in lower snake case now? This would suggest that topics be added in that format. |
@tleen that would make a lot of sense. |
We can either change this in the topics list and ask for it to be changed in track config files, or we can update configlet to remove the I think the topics list should reflect what is actually on the site, and while it's possible to remove |
I think it's worth sorting this out at the TOPICS level. Configlet could do it, but it would seem more like a dark art if it's not listed the way we want it up front. |
This has been done as part of #95 |
Figure out what the conclusion is in exercism/discussions#167 and submit pull requests to each track to normalize per those conclusions.
The text was updated successfully, but these errors were encountered: