Coder Social home page Coder Social logo

effect-crashcourse's Introduction

Hello,

I'm a software developer based in Italy🇮🇹.

Project co-founder and former maintainer at mpv. I like Ruby, TypeScript, functional programming, and have gotten into Effect lately.

effect-crashcourse's People

Contributors

aniravi24 avatar cjol avatar evelant avatar pigoz avatar tsteckenborn 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

effect-crashcourse's Issues

Suffix for tags?

CustomRandomTag?
CustomRandomService?
CustomRandomSomethingElse?

Wouldn't it be better to add a suffix for that? Thank you

Ensure handling all errors

It would be nice to add an example demonstrating handling all errors with an exhaustive switch (or is Match better?)

"Both are valid alternatives and the choice..."

I would say those approaches are not equal. With Effect, a developer says "This thing has a side-effect." while with Either/Option "This is pure/side-effect free".

A developer should strive for the isolation of pure and impure code. Using Effect everywhere hides/hinders that separation.

Some more feedback

  1. Wouldn’t use “stupid” here but rather “naive” or “unsafe”

export const useFileDescriptorStupid: useFileDescriptor = Effect.gen(function* (

  1. “trivial” or “pointless” rather than “stupid”:

// These are stupid Layers with no lifetime

  1. The following bit seems a bit out of place and unclear. Might be better to remove or move to next section. Could also maybe be rephrased if it’s meant to serve as a transition to next section

* But the point of Layers is to define application wide resources.

Thank you

Really helpfull. Deps are not actual but it's still good. Thank you for writting this.

A little bit of feedback.

Hi @pigoz! First I’d like to say massive thank you for creating this. I’ll be sharing it with my coworkers next week :)

One bit of feedback I’ve got so far: the mention of fibers out of the blue and without further explanation in chapter 2 might leave some readers confused. A single sentence explanation with a link to further info would be a great addition here.

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.