Tiltedc
Jump to navigation
Jump to search
Tiltedc is C but tilted.
It should be 100% C code, but the text shall be interpreted vertically, from top to bottom and left to right. It is technically a Weirdlang.
Advantages
- Programming feels like a side-scroller game, this adds even more enjoyment to programming.
- May use screen space more efficiently (when using a horizontal-mounted monitor).
- While coding, you feel as if you were in your own little matrix, which may boosts your self-esteem.
- It looks cool (could almost be used as a wallpaper).
Disadvantages
- Most modern text editors are not specialized in editing vertically.
- Slower compilation (more steps inbetween, because file formats are not optimized to handle Tiltedc).
- Generally, the files end up being larger to their C counterpart (the same reason as above).
- The programmer has to be accustomed in reading text vertically in order to be efficient.
Examples
Hello World
i{ }
n pr
t re
it
m nu
a tr
i fn
n (
( "0
v H;
o e
i l
d l
) o
,
W
o
r
l
d
!
\
n
"
)
;