Git Product home page Git Product logo

Comments (7)

snus-kin avatar snus-kin commented on May 27, 2024 1

Personally (and as someone who is not familiar with Elixir) it seems like a fairly important part of the language's syntax. Perhaps something could be mentioned (as to the effect of option 1) in the first chapter?

From the Pipe Operator page:
"The pipe operator |> passes the result of an expression as the first parameter of another expression."

This seems like a fairly simple and intuitive explanation that could be included, perhaps then reference there is more detail in the dedicated chapter to it.

from elixirschool.

doomspork avatar doomspork commented on May 27, 2024 1

Done, thank you again @allefgomes!

from elixirschool.

doomspork avatar doomspork commented on May 27, 2024 1

@allefgomes we should backport this change to the other languages. Would you like to do that? If not I'm happy to do so.

from elixirschool.

snus-kin avatar snus-kin commented on May 27, 2024 1

Cheers @allefgomes

from elixirschool.

allefgomes avatar allefgomes commented on May 27, 2024

Yeah! You are right.
I saw that in guards session the pipe operator appear and don't have a previews explanation about it.

The sessions that use pipe operator are:
Guards
Default Arguments

I think that we have two options:

  1. We can put a simple signification like "The pipe operator |> is to send the result of function A to function B as the first argument. You will understood more about pipe operator in the next lesson" .
  2. The Guards and Default Arguments sessions can be after introduction of pipe operator.

from elixirschool.

allefgomes avatar allefgomes commented on May 27, 2024

@doomspork can you close this issue?
It was finally at #2799

from elixirschool.

allefgomes avatar allefgomes commented on May 27, 2024

@allefgomes we should backport this change to the other languages. Would you like to do that? If not I'm happy to do so.

I can do it in the next week :)

from elixirschool.

Related Issues (20)

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.