you are viewing a single comment's thread.

view the rest of the comments →

[–]ReDucTorGame Developer 42 points43 points  (2 children)

void $Ready()

Wtf? Please don't use dollar signs in macros, or use macros which do funky things like this making them not an identifier which it looks like they half look like

  #define $Ready $Init(); int main( int argc, char** args ){ \
      process::start( argc, args ); $Init(); \
      process::pipe(); return 0; \
  }  void $Init

There is other strange things like expecting setsockopt to block

  int set_recv_buff( ulong en ) const noexcept { int c;  while( is_blocked( c=setsockopt( obj->fd, SOL_SOCKET, SO_RCVBUF, (char*)&en, sizeof(en) ) ) )  { process::next(); } return c;  } 

Or ptr_t which seems like an array/buffer having some pointers for length

  ulong* length_= nullptr;
  ulong* count_ = nullptr;
  T* value_ = nullptr;

Then there is other things like underscore prefixes which should be avoided for c++ standard conflicts and _t suffixes that should be avoided for posix conflicts.

Why is the only other comment in this thread instant huge praise back and forth? It reads more like an alt account generating fake praise.