Search

August 24, 2023
General »
...patterns-arguably-harmful-for-porting )


C's ifdef is a big mess.

D's version...
August 23, 2023
General »
...more specific? I'm curious.


C's #ifdef is not better in any way, and...
August 22, 2023
General »
There are multiple problems with the #ifdef algebra.
The prohibition against boolean expressions in version...
August 21, 2023
General »
...professional C .h files to conclude that #ifdef algebra is the worst solution. This includes...
June 05, 2023
Issues »
...errors++;
 }
@@ -216,7 +216,7 @@
  */
 void halt()
 {
-#ifdef DEBUG
+#if 0 //def DEBUG
     *(char*)0...
May 22, 2023
General »
...Also maybe Hipreme's idea avoids the #ifdef hell problem (abondance of names and double...
May 22, 2023
General »
...t really the hell that causes the `#ifdef` hell as you said. The problem are...
May 22, 2023
General »
...there because a very common failure of #ifdef hell is to have defaults that botch...
May 22, 2023
General »
...been re-acquainted with #ifdef hell.

I used to write #ifdef hell myself. It's...
May 21, 2023
General »
...operators `! || &&`, in order to avoid C's `#ifdef` hell. This is a controversial design decision...
1 2 3
Next ›   Last »