Programming Languages
The choice of programming language for your Next Big Project can be difficult. Even worse, it can seem easy… when it is not. On the one hand, strictly speaking, you can write any program in any of Turing-complete languages. On the other hand, that doesn’t mean it will be easy. In fact, writing a program in a poorly suitable programming language could be extremely difficult.
Unchecked Exceptions for C++
June 7, 2018 by • “No Bugs” Bunny
Quote:
‘unchecked’ std::errors are treated as ‘something which should never ever happen, but in practice MAY occur as a result of potentially-recoverable bug'
Another Quote:
Failing-Fast does NOT mean we should necessarily Fail-Hard(!). In certain (production!) cases, Failing-Fast-AND-Soft IS a substantially better alternative.
Filed under: On.System ArchitectureDesign decisionsOn.ProgrammingProgramming LanguagesOn.DevelopmentDevelopment Philosophy
App-level Developer on std::error Exceptions Proposal for C++. Part II. The Discussion.
May 30, 2018 by • “No Bugs” Bunny
Quote:
having an ability to associate extra information with std::error is important for us – both for our own std::error exceptions, and for conversion from existing C++ exception
Another Quote:
I think that current C++ standard is Badly Lacking(tm) a concept of ‘segfault’ (which is supported by CPUs on VAST majority of modern systems with modern C++ compilers)
Filed under: On.ProgrammingProgramming Languages
App-level Developer on std::error Exceptions Proposal for C++. Part I. The Good
May 23, 2018 by • “No Bugs” Bunny
Quote:
No single error handling method is good enough for ALL the projects – which in turn leads to segmentation, with some of the projects using exceptions, and some others using error codes
Another Quote:
Right above I said that I like the std::error exception proposal a.k.a.[P0709R0]. However, as soon as I look at competing proposals, I begin to love it.
Filed under: On.ProgrammingProgramming Languages
C++: On Using int*_t as Overload and Template Parameters
May 14, 2018 by • “No Bugs” Bunny
Quote:
We decide which set of types we’re using (fundamental or int*_t), and use it consistently
Another Quote:
The only thing we’re doing here, is changing the name of the type, NOT its behavior
Filed under: On.ProgrammingTips and TricksProgramming Languages

