Viewing a response to: @reggaemuffin/re-tzs-re-reggaemuffin-introducing-the-coding-challenge-20170818t054013756z
I don't know what you mean by > making rules a constant It's already a constant there. Since the filter phrase used once and it's a short one, I'd argue it's easier to read it this way. I implemented/borrowed the second one because I wanted to have a generic solution that is easy to expand or change with new `rules`. Now, all you need is to update the `rules` to get a new `FizzBuzz`.
author | tzs |
---|---|
permlink | re-reggaemuffin-re-tzs-re-reggaemuffin-introducing-the-coding-challenge-20170818t233545415z |
category | coding-challenge |
json_metadata | {"tags":["coding-challenge"],"app":"steemit/0.1"} |
created | 2017-08-18 23:35:42 |
last_update | 2017-08-18 23:35:42 |
depth | 3 |
children | 0 |
last_payout | 2017-08-25 23:35:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 389 |
author_reputation | 66,276,041,146 |
root_title | "Introducing the Coding Challenge" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 12,217,895 |
net_rshares | 0 |