Giter VIP home page Giter VIP logo

functional-programming's Introduction

Goedendag! ๐Ÿ‘‹

Official unofficial logo by kytrinyx

My name is Melvin. A front-end developer and student at the University of Applied Sciences Amsterdam. Early in my life I discovered a passion that has never left me: programming. But more specifically: building a good-looking front-end. Oh, and photography, Photoshop, storytelling, UI-design and anything else creative.

It all started with my own little space on the internet: toekieclub.tk. Stolen together in fourth grade from code-snippets on the internet. The birth of a life-long passion of mine.



Languages & Frameworks


Cool stats I found on other profiles


functional-programming's People

Contributors

melvinidema avatar

Watchers

 avatar

functional-programming's Issues

Modules

Goed gebruik van arrow functies. Misschien kan je je functies omzetten naar modules, zoals de functies getYearOnly en toPositive.

Logboek

Je logboek kan je het beste in je Wiki zetten, in plaats van tussen je project.

Arrow functies

De functie

function transformBeer(dirtyBeer) {
    return {
        name: dirtyBeer.name ?? dirtyBeer.title ?? "Unknown",
        description: dirtyBeer.description ?? dirtyBeer.tagline ?? "Unknown",
        isSour: dirtyBeer.ph !== undefined ? phToName(dirtyBeer.ph) : "Unknown",
        brewedHowLongAgo: dirtyBeer.first_brewed !== undefined ? yearToText(dirtyBeer.first_brewed) : "Unknown",
        image: dirtyBeer.image_url !== undefined ? `${dirtyBeer.image_url}` : "Unknown"
    }
}

Kan een arrow functie worden, namelijk:

const transformBeer = (dirtyBeer) => ({
        name: dirtyBeer.name ?? dirtyBeer.title ?? "Unknown",
        description: dirtyBeer.description ?? dirtyBeer.tagline ?? "Unknown",
        isSour: dirtyBeer.ph !== undefined ? phToName(dirtyBeer.ph) : "Unknown",
        brewedHowLongAgo: dirtyBeer.first_brewed !== undefined ? yearToText(dirtyBeer.first_brewed) : "Unknown",
        image: dirtyBeer.image_url !== undefined ? `${dirtyBeer.image_url}` : "Unknown"
})

Hetzelfde geldt voor de functie giveMeARandomBeer.

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.