On Sunday, 17 December 2017 at 20:55:15 UTC, bauss wrote:
                private Nullable!string _path;


Also does this really make sense?

Why not just have it:

private string _path;

Then instead of:
                string path() @safe {
                        if (_path.isNull) {
                                _path = urlDecode(requestPath.toString);
                        }
                        return _path.get;
                }

You could have:
                string path() @safe {
                        if (!_path) {
                                _path = urlDecode(requestPath.toString);
                        }
                        return _path;
                }

Reply via email to