Coder Social home page Coder Social logo

martinsson / bugszero-kata Goto Github PK

View Code? Open in Web Editor NEW
86.0 86.0 125.0 9.66 MB

Practice Designing code for less bugs

Java 8.68% JavaScript 1.13% Shell 1.03% C# 30.04% PHP 9.20% Swift 8.26% Kotlin 9.10% TypeScript 8.93% Ruby 15.54% Scala 8.09%

bugszero-kata's People

Contributors

dependabot[bot] avatar dertseha avatar fredericruaudel avatar fvn-linagora avatar martinsson avatar michelgrootjans avatar nicoolas25 avatar oriolhub avatar sebcanonica avatar sebn avatar xbojch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bugszero-kata's Issues

C#: fix the test reference file

The CSharp code base is a copy from https://github.com/evilz/kata

The test script is changed to not contain illegal input, however the
test reference file is not changed. So once you get the test running it
will fail. You'll have to just validate the new result as the reference
result. I don't have an environment to do it.

Readme with instructions for launching php tests

Right now it's easy to launch the tests from phpstorm, but it's a bit tricky to launch them from the commandline. It'd be nice to have some documentation on launching the tests using a commandline

Provide a result file with bug fixed

As mentionned in instructions-intermediate.md, there is some bugs/problems with the code :

  • A player that get's into prison always stays there
  • bug with the money attribution, coins are added to the wrong player
  • typo (corrent instead of correct)

Fixing theses will break the test, so it could be good to have a file with the correct output so we can switch on it when they are fixed

Inclusive language in readme

In the spirit of the advanced instructions, I'll describe an issue in the current form of the README.md.

  1. Weakness: Text does not have an inclusive language. Specifically in the subsentence ...it is likely that a developer would create a bug if he extended the code.
  2. What is the potential bug: Using "male-centric" wording supports the stereotype of developers being male. Yet developers come in all shapes and forms, including genders. The text is not about a particular example person, it is meaning "any" person.
  3. Proposed alternatives: Here it can become tricky, yet the English language gives us options. Suggestions:
  • ...it is likely that developers would create a bug if they extended the code. -- developers in complete plural.
  • ...it is likely that a developer would create a bug if they extended the code. -- Usage of singular they, which is getting more common and may also be rejected by some.
  • ...it is likely that a developer would create a bug by extending the code. -- completely avoiding it.

How do you see it?

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.