Code Monkey home page Code Monkey logo

code-grouper's People

Contributors

jhoffner avatar pete avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

code-grouper's Issues

SQL - Grouping is Case Sensitive

In SQL, the solutions are grouped in a case sensitive manner, so solutions that are exactly the same besides certain words being capitalized, are not being grouped together. I'm not sure if this is intentional, as I am just starting to learn SQL, and I'm also not sure if this is the right place to make a note of this possible issue, so please let me know if this isn't appropriate. Thank you.

Array#delete_if and Array#reject are grouped together and incorrectly treated as equivalent methods in Ruby solutions

@njohnson7 commented on Mon Jun 12 2017

Array#delete_if mutates the array, while Array#reject returns a new array, so these methods should not be treated as equivalent.

Here is an example:
image
https://www.codewars.com/kata/reviews/521d8d1a123ebb5a8900008d/groups/5381907ea289d5181e000547

Here are the relevant docs pages:


@kazk commented on Mon Jun 12 2017

@njohnson7 thanks for reporting :)

@jhoffner this is Codewars/code-grouper's issue, right? Can you move this there?

code-grouper/lib/code_grouper.rb#L146-L147
image

Same issue with keep_if and select.
delete_if and reject! is not the same thing either because reject! can return nil when nothing changed.

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.