Oddbean new post about | logout
 @Final:z:Badguy:shrussia: im at a point where im fairly competent with 1 and can manage things with most other languages

but c++... it scares me... 
 @theo h. mann @Final:z:Badguy:shrussia:  C++ is very easy, just

enum{START=1,END=500,};
#define u using
#define C const
#define S struct
#define P putchar
#define t template
#define CE constexpr
#define st static
#define R return
#define F(x,a...) for(x)a
#define A auto
u I=int;u c=char;u s=long unsigned;extern "C" I P(I);
t<s N=1,s M=1>S m{
  st CE A f=[](s n,s m)CE{s mt=n/m;R n-mt*m;};
  st CE s v=f(N,M);
};
t<s N>S tg{u L=c[N];L d;
  CE tg(L C& sl){F(s i=0;i<N;++i,d[i]=sl[i];)}};
t<s N>tg(c C(&)[N])->tg<N>;
t<s,tg,I>S ps{};
t<s N,tg T>S ps<N,T,0>{ps(){F(s i=0;P(T.d[i++]);,;)}};
t<s,I>S pn{};
t<s N>S pn<N,0>{pn(){
  s sz=1;
  F(s i=N;i/=10;++sz,;)
  F(s i=sz;i;--i,{
    s r=1;F(s j=i-1;j;--j,r*=10;)
    P('0'+m<>::f(N/r,10));
  })
}};
t<s N>S p{p(){
  ps<N,"Fizz",m<N,3>::v>{};
  ps<N,"Buzz",m<N,5>::v>{};
  pn<N,!m<N,3>::v+!m<N,5>::v>{};
  P(10);
}};
t<s N,s E>S fb:p<N>{fb(){fb<N+1,E>{};}};
t<s N>S fb<N,N>:p<N>{};
I main(){fb<START,END>{};}
 
 @​ @theo h. mann nice brainfuck code 
 @theo h. mann i mean, what's so scary about it?
it's just very blunt and honest about telling you that programming fucking sucks and unless you really don't want to use physical labor to make a living, you shouldn't bother

https://eientei.org/media/ec55c481497308e05f8632fe4a1fa798e1eac8110c466468732c4c0615344c9e.gif?name=ryukoblink.gif 
 @Final:z:Badguy:shrussia: its more of the sheer complexity of it and the fact that im fucking retarded 
 @theo h. mann well then you're less retarded than me if you can program, skill issue i guess