Comments (8)
I take the point. But there is value in keeping a nonsense word / placeholder of some kind. I spend a lot of time in lessons trying to make clear which things are vocab that has to be used and which things could be anything - usually done by bashing on the keys for a bit ogidosioirkoaer..
from lc-data-intro.
I don't necessarily have an issue with placeholder words, I have an issue with foobar specifically. Students in our workshops have called out that they recognize that it is in an inside joke used by developers that they don't necessarily get and feels exclusionary. It is also based on US military slang which doesn't seem in the spirit of the Carpentries lessons.
from lc-data-intro.
Fair enough. Have you used an alternative placeholder? lorem
?
from lc-data-intro.
I don’t have strong feelings either way but I think there’s an argument to use foobar exactly because it’s used by developers. It’s a bit of jargon that is often used in this type of lesson and this lesson could be an opportunity to demistify it.
from lc-data-intro.
I came across this rant https://dev.to/warrend/no-more-foo-bar-and-baz-56j4. I know reading the comments can be bad sometimes but I thought some of the comments were helpful. For instance, contextualizing it to the audience/venue you are teaching at. There is also a comment about the origin and I originally thought the same @ostephens that it might be a good opportunity to demystify it, why it is used by developers, but I think the military connection gives me pause. Thanks for bringing this up @kristindawn!
from lc-data-intro.
No strong feelings, but:
- If we change it here, we should definitely change it in 05-quiz.md and 06-quiz-answers.md (and to be honest I think the uses there are more problematic in that they generalise where really a real world example would be much more meaningful)
- Note that foo/bar is used in https://github.com/LibraryCarpentry/lc-data-intro/blob/a6b4b2c78f6babe873ae686fedd0978cd8f28c4e/_includes/base_path.html which is part of the Sofware Carpentry template - I'm not raising this as an argument to keep foo/bar anywhere, but it does exemplify how widespread its use is
- Also used in https://github.com/LibraryCarpentry/lc-python-intro/blob/c1bfb5b5cf93780e0ad49edbe4b261f61e818312/_episodes/15-scope.md as part of an error message - I'm not clear why they use foo here - I'm not v familiar with the lesson - but if we are going to stop using it then it probably needs checking here as well
from lc-data-intro.
Thanks for considering. The military association is the most problematic part for me. There is a ton of new language for folks to learn in Library Carpentry and I think that foobar isn't that useful an addition to that long list if we can take it out.
If I can help, let me know!
from lc-data-intro.
I can do a pull request for this. Probably word
or pattern
would do just fine, or even a real word, like "comb" or "present," which when combined with prefixes and suffixes forms many other words, and therefore illustrates the concept of anchoring on word boundaries very nicely.
Edit: the PR is #120. Suggestions for improvement welcome.
from lc-data-intro.
Related Issues (20)
- OR (“Finish the expression” in https://librarycarpentry.org/lc-data-intro/02-match-extract-strings/index.html)
- Space or no space in https://librarycarpentry.org/lc-data-intro/04-exercises/index.html
- Use the same term for Lines 55-59 HOT 1
- Lesson Contribution - RegEx Metacharacters
- Need jump lists (anchors) for headings HOT 1
- numbering exercises? HOT 1
- regex.101 quick reference section as 'cheat sheet' in Episode 1 HOT 1
- Hide hints in dropdown to give people a chance to solve the challenge without them
- Scheduling early transition to Workbench HOT 6
- Transition To Workbench in May HOT 15
- Potential revision to initial paragraph (courtesy of @yoyology)
- Links need to be fixed in CONTRIBUTING.md HOT 1
- broken link to Library Hat blog post in 01-regular-expressions.md HOT 2
- Broken link to domain name list HOT 2
- Question about 02-match-extract-strings.md HOT 1
- Extracting a substring in Google Sheets using regex
- Broken link to ACRL Tech Connect blog post
- Phone number exercise is not appropriate for a global audience HOT 1
- Make it obvious that CoC is not the real CoC (or use some other text entirely)
- Summary/setup refers to a (maybe?) deprecated lesson
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lc-data-intro.