Giter VIP home page Giter VIP logo

monkey's Issues

This library idea is awesome, but now there is better choice

I read the code, finding that it actually copy the executable file and modify it to instrument. As the author have stated, it has pros and cons.

Now, the same idea, replacing on the fly, inspired another project that also implements mocking. That is the xgo progject: https://github.com/xhd2015/xgo.

The difference is, xgo replaces source file instead of binary file. So it is totally a native go solution.

Maybe we can discuss more here.

But... Why?

Monkey patching is a total evil in programming (except too specific cases, which are still not an argument)... For god sake, why did you publish that?

Also, looks like you didn't read original monkeypatching library license:

Don't use it.

Even author answered, why monkeypatching must not be exist in this world


I also must note you, that publishing projects in opensource is awesome thing, more opensourced projects โ€” better life for developers. But it's better to keep code quality in opensource projects, cause if we won't look on code quality, opensource will become an evil too. Which is unacceptable/

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.