Skip to content

Function in templates should have parameters? #509

Closed

Description

@jankaifer

I feel better if I have the parameters in template (maybe because I'm used to it from other sites). When I've been solving first problem with input I didn't knew how I'm supposed to get input. I had to look in the tester script.

Activity

  1. behrtam commented on Aug 11, 2017

    @behrtam
    Contributor

    But shouldn't choosing a good name for parameters be part of solving the exercises?

  2. jankaifer commented on Aug 11, 2017

    @jankaifer
    Author

    You can always rename it 😄
    Maybe not names, just some strange placeholders, but something that tells me what my function gets as input. Something like inputString or array.

  3. ilya-khadykin commented on Aug 20, 2017

    @ilya-khadykin
    Contributor

    Fixed in #510

  4. jankaifer commented on Aug 21, 2017

    @jankaifer
    Author

    @M-a-Ge well its not fixed yet because I fixed just one exercise. But others templates are still without parameters. If you find this a good idea then all exercises should be modified.
    I don't know where to write it to let others know that new exercises should have parameters in template and to tell contributors that someone could upgrade other exercises as well.

  5. ilya-khadykin commented on Aug 21, 2017

    @ilya-khadykin
    Contributor

    @jankaifer, got it now
    I'll reopen the issue then

  6. jankaifer commented on Aug 22, 2017

    @jankaifer
    Author

    Thx

  7. jankaifer commented on Aug 22, 2017

    @jankaifer
    Author

    Hi, could someone mark this as beginner-friendly or even first-timers-only please.
    Thx

  8. ilya-khadykin commented on Aug 22, 2017

    @ilya-khadykin
    Contributor

    @jankaifer, I've added requested label.

  9. lilislilit commented on Sep 6, 2017

    @lilislilit

    #521 Mostly covers it, I hope :)

  10. jankaifer commented on Sep 7, 2017

    @jankaifer
    Author

    @lilislilit thanks for changing all exercises.
    I'm wondering If this issue should be closed (because it's changed everywhere) or left open (as info for new exercises).

  11. lilislilit commented on Sep 7, 2017

    @lilislilit

    @jankaifer As I was told in #521 comments, PR's should be separate for each exercise, so I guess, maybe add a checklist in top comment?

  12. jankaifer commented on Sep 7, 2017

    @jankaifer
    Author

    @M-a-Ge could you please un-merge my PR #514 because as @behrtam says in #521 there should be just one exercise per PR like in #510 (as written in contributing-guide).

    (Maybe we could make one exception with this rule because it will create lot of PRs. But @behrtam is the boss here 😄 .)

  13. 6 remaining items

  14. sjwarner-bp commented on Oct 2, 2017

    @sjwarner-bp
    Contributor

    I've just done this for the acronym.py template. I hope I did it ok, I am new to this! Please let me know if there is anything I could have done better.

  15. added a commit that references this issue on Oct 3, 2017
  16. ilya-khadykin commented on Oct 3, 2017

    @ilya-khadykin
    Contributor

    @jankaifer, thanks for your list. I'm creating separate issues for each of these exercises as part of Hacktoberfest.
    I hope you and @lilislilit will contribute since you've committed a lot of in this.

  17. jankaifer commented on Oct 4, 2017

    @jankaifer
    Author

    @M-a-Ge do you need help with merging PRs and closing issues?

  18. ilya-khadykin commented on Oct 4, 2017

    @ilya-khadykin
    Contributor

    @jankaifer it definitely take some time to go through all of them, to be honest.
    Do you want to become a maintainer of the track?

  19. jankaifer commented on Oct 4, 2017

    @jankaifer
    Author

    @M-a-Ge I would love to become a maintainer.

  20. N-Parsons commented on Jan 20, 2018

    @N-Parsons
    Contributor

    And I think we're done! Thanks for clearing the last few up, @cmccandless!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions