Code Monkey home page Code Monkey logo

byte_flow's People

Contributors

pacifio avatar

Stargazers

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

Watchers

 avatar  avatar

byte_flow's Issues

Don't get stuck in the JS world, harness the power of extensions

Hello there!

Now, you might wonder why your post on Reddit did not garner much support, and there are a few reasons I can think of:

  • Don't reinvent the wheel!
    • Dart already has many built in functions, and some of your code is nothing but reimplementing functions with a new name, layers of abstraction for the sake of layers of abstractions are disliked by many here.
  • Use extensions!
    • Dart supports extensions, which lets you append methods to a type you do not own, this library is a perfect example of code you can fold into an extension.
  • Check your terminology!
    • Dart has Lists, not Arrays, the difference is often minute, but terms matter, using the wrong terms may put people off.

Overall, there are things here which are worthy to be in a library, but remember that libraries exist to solve problems, problems that might not exist, or be already solved, or present themselves in completely different ways in other languages.

Lodash is built to work against JS' (effectively) complete lack of stdlib, whereas Dart's stdlib allows you to cover some usecases better than methods in a library ever could, or provides short idioms that are used in actual code to cover most other usecases. Extensions let you put yourself as an stdlib patch to extend what's not there yet.

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.