Comments (6)
Gigasecond, considering its simplicity, comes way too late. It's mostly included as a way to introduce Crates and reading their documentation.
When we introduced Sieve we talked about placement and weren't sure. I thought it worked well after the iterator usage that were part of Anagrams and Difference of Squares. But maybe the leap is too big.
Looking at most people's Sieve implementations, I think there are two things they are missing: good higher-order-function usage and good looping usage. If there's a problem that does a better job of introducing one or two of those concepts, then maybe we should move Sieve after it?
from rust.
HelloWorld 2: the revenge which is even less scary than the first time around
LOL. I love it. In Go we have Gigasecond as the fourth problem ("hello-world", "leap", "clock", "gigasecond"). It works well as a "first-ish" exercise (though in Go people can struggle a bit with type conversions and the concept of Duration, so it's not quite Hello World the Revenge for some folks).
from rust.
I was going to say "Queen attack probably has looping when showing the board!" but we don't do board display. Somewhere in the neighborhood of beer song and minesweeper?
from rust.
Initially I was attempting a purely functional approach to Sieve
, and yet I see that it's waaay down the list in the Haskell exercises. If others are trying alternative approaches, they might not experience brain cell attrition at the same rate.
If there's not a good candidate amongst the existing exercises, is there a precursor that could be ported from another track?
@kytrinyx Thx for what you've created!
@rest Thx for helping improve it!
from rust.
Ok, moving gigasecond is easy and ready to go in #115.
As for sieve, I'm not sure where it goes. Maybe after the nucleotide ones?
from rust.
Sieve: I might consider right before or right after minesweeper, but I'm not sure on that.
I have half a mind to make a thing that compares exercise ordering across different tracks, though I need to think about how it should work first.
- Checking absolute number doesn't make much sense because tracks have different numbers of problems.
- Maybe I normalise by dividing by the number of exercises in the track? Could work, would have to see. May have weird results for tracks that tended to implement easier problems or harder problems. Probably a good first iteration.
- Maybe check all-pairs and see which pairs are most controversial (most even split?)? I wonder if all-pairs would be expensive to compute, but if we only have ~100 exercises total maybe it's not so bad...
from rust.
Related Issues (20)
- Test in CI that we're in sync with problem-specifications HOT 2
- Simply linked list test error HOT 1
- Pin test runner to a specific version HOT 1
- Document / reconsider `topics` field in track config HOT 1
- Improve example solution testing scripts
- CamelCase test unintentionally removed from acronym exercise HOT 2
- Building a training set of tags for rust HOT 25
- Tests fail with no output HOT 16
- Tests don't pass when sending Cargo.toml with optional dependency HOT 1
- Remove all util functions from test files HOT 6
- Test in CI that stubs don't generate clippy warnings HOT 1
- Move more CI tests to rust tooling
- Concepts for this track are not displayed HOT 1
- word-count: change interface from u32 to usize
- test type_override fails even when correct solution is made in macros lesson HOT 1
- Performance issue about the Isogram problem approach HOT 1
- Add test that templates match generated test suite HOT 5
- One of two-bucket's test case is wrong HOT 3
- Improve exercise order HOT 1
- new test case for Phone Number HOT 2
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 rust.