Code Monkey home page Code Monkey logo

enigma-code's Introduction

Hi there 馃憢

Senior software engineer at nice.com | co founder of @H4ckdo | hermes-io creator | maintainer of open source projects.

website

maxtermax.dev

Libraries:

  • hermes-io: A lightweight javascript library that allows communication between components by using the observer pattern and the hook api.

  • node-doodles: This is a small module with which you can harness the REST API for google images known as doodles, can get images specifying the year and month of the doodle you want.

  • @maxtermax/lux-io: javascript library, is a simple class that allows promises executions in queue, the execution queue have a maximum number of concurrent promises that can be execute at the same time.

  • dispatch-model: javascript library for resolve http requests in a standar format works great with expressjs and sails.

  • generator-stack-lego: This is a concept to build web applications based on the idea that build applications should be like building Lego houses: putting blocks ending with a complete application.

Apps:

If you find me work helpful please consider support me at https://www.buymeacoffee.com/maxtermax, that encourage me to continue working on cool open source projects.

enigma-code's People

Contributors

maxtermax avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

enigma-code's Issues

Buena practica en callbacks.

Como una recomendacion seria acojer el no definido en ningun lado "standar" de los callbacks.

Si ud desea que su codigo sea usado como libreria para otros modulos o programas es una muy mala practica throw Errors, ya que esto tumba todo el proceso y nadie quiere hacer un web service que de repente por un error se venga todo abajo.

La buena practica es que en caso de errores, son pasados como primer argumento al callback, y sera el callback el que decida que hacer con eso, en caso de no tener errores pues se pasa null.

Ejemplo:

function libreria(callback) {
  var algunResultado;
  if (tengoErrores) return callback(error);
  return callback(null, algunResultado);
}

function MyApp() {
  libreria(function (err, resultado) {
      if (err) return console.log(err);
      procesoResultado(resultado);
  });
}

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.