Giter Club home page Giter Club logo

Comments (6)

IanWhitney avatar IanWhitney commented on September 25, 2024

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.

kytrinyx avatar kytrinyx commented on September 25, 2024

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.

petertseng avatar petertseng commented on September 25, 2024

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.

fish-ter avatar fish-ter commented on September 25, 2024

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.

IanWhitney avatar IanWhitney commented on September 25, 2024

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.

petertseng avatar petertseng commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.