Viewing a response to: @pilcrow/re-reggaemuffin-introducing-the-coding-challenge-20170818t085726321z
+1 for > Initially I returned it as an integer too, but returning mixed types is bad practice and in fact **actually broke my tests**, so I return it a as string now too. and for having a test that breaks when this is not the case, tip! worthy :) The `||` is a pretty clean way, I like that! Your explanation on why you used the spread operator is glorious! Thank you for giving insight into why you used that :) I would definitely read a blog post about it. But if you want to save your efforts for a harder challenge, a new one will come up pretty soon :)
author | reggaemuffin |
---|---|
permlink | re-pilcrow-re-reggaemuffin-introducing-the-coding-challenge-20170818t102036456z |
category | coding-challenge |
json_metadata | {"tags":["coding-challenge"],"app":"steemit/0.1"} |
created | 2017-08-18 10:20:39 |
last_update | 2017-08-18 10:20:39 |
depth | 2 |
children | 2 |
last_payout | 2017-08-25 10:20:39 |
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 | 564 |
author_reputation | 37,964,839,695,531 |
root_title | "Introducing the Coding Challenge" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 12,162,209 |
net_rshares | 0 |
Thanks! In that case I'll wait for the next one. This is fun :)
author | pilcrow | ||||||
---|---|---|---|---|---|---|---|
permlink | re-reggaemuffin-2017818t124833597z | ||||||
category | coding-challenge | ||||||
json_metadata | {"tags":"coding-challenge","app":"esteem/1.4.6","format":"markdown+html","community":"esteem"} | ||||||
created | 2017-08-18 10:48:36 | ||||||
last_update | 2017-08-18 10:48:36 | ||||||
depth | 3 | ||||||
children | 0 | ||||||
last_payout | 2017-08-25 10:48:36 | ||||||
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 | 63 | ||||||
author_reputation | 2,531,070,549,481 | ||||||
root_title | "Introducing the Coding Challenge" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 12,163,717 | ||||||
net_rshares | 0 |
author | zuricher |
---|---|
permlink | re-re-pilcrow-re-reggaemuffin-introducing-the-coding-challenge-20170818t102036456z-20200829t032329z |
category | coding-challenge |
json_metadata | "{"app": "beem/0.23.9"}" |
created | 2020-08-29 03:23:30 |
last_update | 2020-08-29 03:23:30 |
depth | 3 |
children | 0 |
last_payout | 2020-09-05 03:23:30 |
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 | 1 |
author_reputation | -39,571,640,904 |
root_title | "Introducing the Coding Challenge" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 99,332,904 |
net_rshares | 0 |