Reputation
6,609
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
13 27
Newest
 Disciplined
Impact
~568k people reached

Jan
25
reviewed Edit Module vs. Package?
Jan
25
revised Module vs. Package?
Improved formatting
Jan
18
awarded  Disciplined
Dec
29
reviewed Edit Should I log errors on exception throwing constructors?
Dec
29
revised Should I log errors on exception throwing constructors?
minor title phrasing clarification
Dec
23
reviewed Approve Proper use of model in asp mvc
Dec
23
awarded  Nice Answer
Dec
17
revised Should I use HTTP status codes to describe application level events
I think this title describes the question in more general terms
Dec
17
answered Should I use HTTP status codes to describe application level events
Jun
26
awarded  Yearling
Jun
22
reviewed Approve Should the methods of a class call its own getters and setters?
Jun
21
awarded  Nice Answer
Nov
15
awarded  Pundit
Oct
5
comment Alternate string formatting options in C++?
The library looks comprehensive and robust. +1
Sep
30
awarded  Explainer
Sep
27
comment When should you create/destroy underlying object in a class that wraps it
Indeed - but in a language without destructors, that's part of the contract when handling unmanaged resources, such as files. Otherwise, you might never close them as long as your process is alive, and most likely never in the time you want to.
Sep
26
comment When should you create/destroy underlying object in a class that wraps it
And, as a general direction, that the constructor approach is only useful so long as you have access to the concrete class. As soon as you start getting into interfaces (or dependency injection), that sort of interface can pose some problems.
Sep
26
comment When should you create/destroy underlying object in a class that wraps it
I'd add gently, for the sake of completeness, that you still want a close() method even when you open it in the constructor.
Jun
26
awarded  Yearling
Apr
29
reviewed Approve gitlab tag wiki excerpt