Why "C" is the most elegant programming language?
Why "C" is the most elegant programming language?
Other urls found in this thread:
actually. that would be golang
>elegant
sure, now show some metaprogramming techniques using the cpp
define how you judge elegance
because if it's by how people usually write code in the language, C is a dirty clusterfuck
also that code is of poor quality, it's merely spaced for slightly better readability. but insert something that breaks your current max column width and you have to either re-format everything manually, or use special scripts to format it as readable again
>Why "C" is the most elegant programming language?
WHY IS "C"* I TOLD YOU TO STOP MAKING THREADS UNTIL YOU'VE LEARNED ENGLISH
It isn't. It wasn't even _designed_ in thhe first place.
C is the least elegant of all languages in widespread use today.
>dwm
please show some actual C
dwm would be unironically better organized if it were written in C++.
>drw_init
>drw_dostuff
>drw_destroy
But those fuckers will never admit it.
If you consider a language where printing "hello world" involves undefined behavior elegant, sure.
If it is not C, which one is it anons?
typescript
Scheme is as elegant as it gets.
Python.
>shows a .h file
Degenerate ugly non-lisp.
[spoiler]'(implying it isnt LISP)[/spoiler]
First attempt at an actual answer - C is so fucking simple. You can write a C compiler in 2k lines. It’s the only language for which a formally verified compiler exists
What the fuck is that color set ? Monokai ST3 or nothing.
I like programming in BASIC dialects
>actual answer
>equating compiler simplicity with language simplicity
>thinks formal verification matters in $CURRENT_YEAR
what is the most clown language?
It's the Peachpuff colorscheme in Vim.
Are you fucking retarded?
Haskell. Without question. Anyone who argues this doesn't know Haskell.
probably haskell
Brainfuck or JSFuck
Probably JSFuck
[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+(![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]])()
Malbolge
Writing short appealing code is literally the only thing Python is good for
Scheme is 1st
Haskell is close 2nd
The roof of the Sistine chapel was also created ad-hoc, it doesn't *necessarily* make it inelegant. It can be related to inelegance, the product can be inelegant for other reasons, but it is not exclude elegance inherently.
Brainlet here. I only know structural programming and a little bit of "functional" programming in ES6. What makes Scheme better?
alert("Fuck niggers");
Hoon/Nock
Rust.unwrap()
>thinking C is superior to FORTH
>thinking C is more elegant than FORTH
>thinking C is faster than FORTH
Pick exactly 0 of the above
>elegant
>just variable declarations, no actual logic
Are you retarded?
>void*
Based wm
>ENGLISH
monkey langiage
stop speaking UNTIL YOU'VE LEARNED "C"
Because it achieved a near-ideal combination of being easy to program in and easy to write a compiler for, so the idea of C spread faster than a bad std.
There is exactly one metric for how good a language is, and it's how many people are using it.
That's not go's fault it's the programmer's
>downloads dwm and changes the color of the border
>OMG C is so elegent
yea fuck off
You can't say C is elegant and have syntax highlighting on. You're making Rob Pike sad.
I'm sorry, syntax highlighting is useful, regardless of what Rob Pike says. Turning off syntax highlighting makes it harder to distinguish between code structures at a glance. This is essential for working and navigating quickly. Whether or not he thinks it looks childish because it's colorful should be irrelevant. No one should turn off syntax highlighting just because Rob Pike says so either.
Good, Goolag workers don't deserve to be happy.
this
Rob Pike is retarded anyway. Only cat-v cares about him.
That's a retarded metric because it gives an unfair advantage to languages like JavaScript that are popular due to having no alternative.
But C isn't easy to program in at all without littering vulnerabilities all over the place.
It as elegant as the coder wants it to be. Python is the opposite.