55 | | I subjectively prefer the `x = std::max(x, y)` pattern, but be careful in case you rearrange. You could even use an initializer list: `std::max({x, y, z})`. |
| 55 | I subjectively prefer the `x = std::max(x, y)` pattern, but be careful in case you rearrange (it also supports the initializer list `std::max({x, y, z})` though you can't use that here by the looks of things). |
| 56 | |
| 57 | ------ |
| 58 | |
| 59 | Re Stan: Removing code duplication in that hunk doesn't seem effective due to the slight differences in those lines and cpp being less flexible than JS. |