Giter VIP home page Giter VIP logo

Comments (2)

StefMa avatar StefMa commented on June 3, 2024

It seems like woodPidgeon is amending bird but that doesn't seem true in the code.

I guess you're right here.
woodPigeon is a completely new property and has nothing to do with the previously defined bird.
Otherwise it should be used like

woodPigeon = (bird) {

😉 Like also the first examples describe.

So the sentences In this example, bird.taxonomy has kingdom, clade, order and species is wrong for this example, but might be worth to move to the first example...

See also https://pkl-playground.vercel.app/?share=longer-drew-call

from pkl.

ghyatzo avatar ghyatzo commented on June 3, 2024

Ahah thanks for confirming I am not mad, at first it confused me quite a bit.
Thanks for the clarification.

If I may, separating the two examples using slightly different objects might seem confusing, I don't know if that was deliberate or not but while working through it, it made things clearer just having woodPidgeon amend bird to begin with.

But it's just a minor feedback from a pkl noob so take it as it is 😁 I might be missing the point completely.

from pkl.

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.