Giter VIP home page Giter VIP logo

Comments (5)

ssorallen avatar ssorallen commented on May 6, 2024

Good point. Can you send a pull request to use push instead of assigning to unknown indices?

from javascript.

 avatar commented on May 6, 2024

Pull request? Are you serious? I need to fork/clone/edit/save/commit/push/send pull request and go though thousand of UIs. If you find it a good point just change the five bytes in the readme.md via GitHub's edit button. Sorry I'm out of here, I can not contribute any further.

from javascript.

spikebrehm avatar spikebrehm commented on May 6, 2024

@bobef pull requests are the basic unit of open source contribution. I can't imagine contributing to an open source project without using pull requests.

from javascript.

 avatar commented on May 6, 2024

So reading your guide not for my own sake, because I have no intention of
following it, taking the time to create a ticket although I don't care
about this or any other guide, sharing my experience and elaborating on it
and participating in a discussion, taking more than an hour of my time
doing all of this (in the middle of the night by the way) is not a
contribution? What if I'm a non technical user of open source software
written in C++ and ASM and brainfuck? Should I create pull request to
contribute? Can't I contribute by giving feedback? Can't you imagine this?
:) Here I contribute only with feedback, you don't need to image it, it is
a fact you can see it with your eyes :). I don't want to participate in
writing your guide, I just share my experience (and observations) if you are interested in it.

On Fri, Nov 8, 2013 at 4:47 AM, Spike Brehm [email protected]:

@bobef https://github.com/bobef pull requests are the basic unit of
open source contribution. I can't imagine contributing to an open source
project without using pull requests.


Reply to this email directly or view it on GitHubhttps://github.com//issues/96#issuecomment-28029156
.

from javascript.

hshoff avatar hshoff commented on May 6, 2024

Ah good point. This why we open sourced our style guide for feedback like this.

I think I did it that way because of how the bad example does the string concatenation.

    // bad
    function inbox(messages) {
      items = '<ul>';

      for (i = 0; i < length; i++) {
        items += '<li>' + messages[i].message + '</li>';
      }

      return items + '</ul>';
    }

    // good
    function inbox(messages) {
      items = [];

      for (i = 0; i < length; i++) {
        items[i] = messages[i].message;
      }

      return '<ul><li>' + items.join('</li><li>') + '</li></ul>';
    }

I'll fix this. 🍻

from javascript.

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.