David Z. Chen

Results 41 comments of David Z. Chen
trafficstars

While C++ is definitely not a perfect language and there is plenty of examples of bad C++ code out there, I would not go so far to call C++ a...

Thanks for the update, @bford! That is great to hear.

Could we make use of [cctz](https://github.com/google/cctz) for this?

This is a very old bug, but I also think it would be great to have this feature. If I understand correctly, pyYaml supports setting a line width: https://dpinte.wordpress.com/2008/10/31/pyaml-dump-option/

@jbeder Your thoughts on this? I have a similar case where I would like the lines to wrap after a certain length, similar to this example: https://github.com/zeldamods/oead/blob/master/test/byml/files/A-1_Dynamic.yml It seems that...

Makes sense. For my case, it would not necessarily have to be in the format of the first comment. Simple line wrapping would be fine for me. Something like: ```...

After digging through the bugs, I found that tags can be added using `YAML::LocalTag("tag")`. I'm happy to add this to the documentation.

One approach I have found that worked is using `YAML::convert::decode`, something like: ```cpp if (node.Tag() == "tag:yaml.org,2002:binary") { // Process as binary value } if (bool bool_value; YAML::convert::decode(node, bool_value)) {...

It looks like the indentation style of the new code is inconsistent with that of the rest of the codebase (4 vs 2 spaces). @SGSSGene can you make the style...

Sorry for the delay. Changes LGTM on my side. @jbeder Can you please take a look at this?