Git Product home page Git Product logo

Comments (10)

ErikSchierboom avatar ErikSchierboom commented on September 15, 2024

@robkeim How do you feel about this?

from csharp.

petertseng avatar petertseng commented on September 15, 2024

summary of what I say in exercism/fsharp#296 is that I think doing Chain

advantages:

  • student peace of mind that their code found a correct chain

disadvantage

  • more complex test
  • students are probably already finding a full chain anyway, so it's not like using Chain is going to "weed out" any more students.

from csharp.

robkeim avatar robkeim commented on September 15, 2024

I added my $0.02 in: exercism/fsharp#296

from csharp.

ErikSchierboom avatar ErikSchierboom commented on September 15, 2024

Re-opened.

from csharp.

robkeim avatar robkeim commented on September 15, 2024

@petertseng and @ErikSchierboom I'm going to go ahead and close this issue since the canonical data has canChain and not chain:
https://github.com/exercism/problem-specifications/blob/master/exercises/dominoes/canonical-data.json

If we want to re-open this for discussion I think we should change the canonical data first then update the individual tracks. Does that make sense?

from csharp.

petertseng avatar petertseng commented on September 15, 2024

the canonical data has canChain and not chain

My suggestion for chain stands even when the canonical data contains canChain because https://github.com/exercism/problem-specifications/blob/master/exercises/dominoes/canonical-data.json#L21-L24.

It does not matter to me whether this issue is closed, but what does matter to me is that if it is closed, it is closed for the right reason.

If considering chain in canonical-data.json, it may be possible if the canonical data chooses a canonical representation for the chain that is invariant to reversal and rotation. A question I have not explored is whether there is only one chain under this canonicalisation.

from csharp.

ErikSchierboom avatar ErikSchierboom commented on September 15, 2024

I think I lean towards keeping this closed, to keep the implementation of an already challenging problem slightly simpler.

from csharp.

petertseng avatar petertseng commented on September 15, 2024

It looks like this track will need to change its README.

The https://github.com/exercism/csharp/blob/master/exercises/dominoes/README.md says such things like:

Compute a way to order a given set of dominoes

Since this track asks for canChain, this should probably read "Compute whether there exists a way to order a given set of dominoes"

For example given the stones 21, 23 and 13 you should compute something like 12 23 31 or 32 21 13 or 13 32 21

Since this track asks for canChain, this should probably read "For example given the stones 21, 23 and 13 you should declare that there exists a possible chain (for example, 12 23 31 is a possible chain)"

Note upcoming changes to domino text representation in exercism/problem-specifications#972

from csharp.

robkeim avatar robkeim commented on September 15, 2024

Good point @petertseng... I'm re-opening this issue to track a README change.

from csharp.

ErikSchierboom avatar ErikSchierboom commented on September 15, 2024

I'm working on this

from csharp.

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.