|
Plorkyeran posted:The problem with logging frameworks is that they always seem like such complete overkill at the beginning of a project when you can do everything you need in ten lines of code... and then a year later you're up to a few thousand lines of code that reinvents badly 90% of a good logging library. This is true of just about every library, not just logging libraries.
|
# ¿ Aug 14, 2013 17:16 |
|
|
# ¿ May 15, 2024 13:51 |
|
Plorkyeran posted:Eh, it's only really true of large libraries that solve problems that on the surface seem like they should be small problems. I guess, but on the other hand, when a library is small I often hear a similar but opposite rationale to avoid it, perhaps especially if the problem is seemingly simple: Why would I use <some small library>? It's simple enough that I can replicate its capabilities with a handful of functions without pulling in a dependency. Really, in my experience it's just difficult to get people to use a library period. I spend a lot of time bug-fixing or rewriting functions of freely available libraries for projects because people don't want to use them, even if the quality is high and licensing is free of restrictions. The size of a library is often referenced whether large or small.
|
# ¿ Aug 15, 2013 16:36 |
|
911.php was an inside job.
|
# ¿ Aug 22, 2013 04:46 |
|
astr0man posted:As someone who used to do RE for a living, I can say with a certainty that it is easier to reverse C code than it is C++. Yeah. If all C++ had over C was the addition of function overloading it would make things easier, but there's just so much complexity in C++ that in general I can't imagine it's easier overall.
|
# ¿ Jan 7, 2014 04:53 |
|
Zhentar posted:And that's even before the crazy compilers go mucking things up. libstdc++ used copy-on-write, but now it's pretty much universally accepted that the small string optimization is best in the general case.
|
# ¿ Jan 7, 2014 05:32 |
|
Suspicious Dish posted:How is StopIteration an exceptional circumstance? I really, really, really, hate this. I don't know why they use exceptions for this kind of stuff. Exceptions make sense for functions that can't reach their post-conditions and not much else. It's embarassing that so many languages and libraries use exceptions for basic control flow.
|
# ¿ Jan 18, 2014 04:42 |
|
Suspicious Dish posted:Dear people who care about open-source: please do not submit issues containing the pettiest garbage I've ever seen. It's not petty and these are valid criticisms/bugs. Sorry you like encouraging poor code.
|
# ¿ Feb 16, 2014 09:21 |
|
|
# ¿ May 15, 2024 13:51 |
|
Jewel posted:I forgot we talked about this DON'T START ANYTHING we've done it before see this post if you want to see the discussion on it. Move along I was just about to link that.
|
# ¿ Feb 21, 2014 08:43 |