Inb4 assembly

What is the most elegant computer programming langauge?

That would be Assembly

Go

Assembly.

>elegant
>indexes are base 1
that's as uncivilized as it can get in programming

0 based indexing is inelegant

Humans count from 1 because there needs to be a one of something for it to exist

Lua is one of the only metaphysically correct languages

Lisp

cobol

You can without consequence replace all examples of "elegant" when referring to programming with "dropout"

Depends on how you define elegance, really.

Access your array using modulus. Oh wait you have to add one like a fucking animal

Unironically Lisp. It's a very simple language but very flexible with an easy syntax.

>accessing an array using modulus
Literally nobody does that.

>array

:^)

APL
ML
Rebol
Scheme
Tcl

Lua

The LISP ones. They feel... Organic, somehow. The ALGOL ones on the other hand feel mechanic.

Haskell

Java

Try again.

you people are retarded
>inb4 he cant into assembly

Haskell

Short, compact, functional.

Ruby

Yeah... Cobol++ too ?

I really think well written scala is quite elegant, however I might be biased since it was the first language I learned.

Any LISP checks out.
If I had to name one I'd go for Scheme.

Java

This

>nobody said C
What the hell? C

only if you know what you're doing

as for everyone saying lisp, they're memeing because they clearly never saw common lisp

Python, not even joking.

Fortran starts indexes from 1.

>write program in python
>find it months later
>have no fucking idea what the hell it was supposed to do or does
Yeah nah

Post code

>write program like a mongoloid ape
>no comments
>"hurr durr what it does?"
Kys.

>commenting so you know the type of your variables
And now you realize dynamic typing is shit

>you only use comments to know the variable type
Pajeet, everyone! The best fucking programmer on Earth!

I implied you wont know the type from just reading the source code, retard.
Go read a 20k+ LoC that mostly somebody else wrote in python, you will wish it would be any other language.

Except perl.

Or php. Fuck php.

Perl

eval eval '"'.


('`'|'%').('['^'-').('`'|'!').('`'|',').('{'^'[').('['^'.').('`'|'.').('['^'+').('`'|'!').('`'|'#').
('`'|'+').('{'^'[').('['^'.').'='.'>'.('['^'*').'\\'.'{'.'_'.'='.('{'^'-').('`'^'!').('`'^')')."\;".
'&'.('^'^('`'|'*')).'\\'.'@'.'*'.'#'.'\\'.'$'.('`'^')').'('."'".('`'^',').'*'.'

Who writes 20k+ LoC in a scripting language? Thats more retarded than not commenting your code correctly

You would know of you weren't a fucking retarded.

No one is mentally handicapped like you and reading a good source code written in Python, doesn't matter the LoC, it's still piss easy to know what's happening.

But you can't read your own shit, so you might as well kill yourself.

Also this

correct

I do.

i like scheme
tcl is elegant in a "holy shit that's simple" kind of way

Great one. But for high level job i would choose C or Python as beautiful and functional

>Humans count from 1 because there needs to be a one of something for it to exist
I'm sorry to have to inform you of this but array indices are memory offsets. It should be obvious that an index of 0 means to offset by nothing, i.e. access the first element.

>What are hash tables

>2016
>can't into assmbly

Perl is the correct answer.

0 based indexing adds a lot of little conveniences.

It's an arbitrary definition, so why not go with the one that makes your life the easiest? (0-based)

Hardly ever used Lua, why is it good?
I knew someone who used it, but the language looked strange compared to what languages I use, granted that was several years ago.

Find the number of elements in your array

Oh wait you have to add one like a fucking animal

>Find the number of elements in your array
array.Length()

?

It's lightweight, easy to pick up and easy to interface with C (compared to things like Python). I'm not a fan of the syntax or rules of the language but I am a fan of its C API.

Basic

Lisp

Basically this. It's rock solid at its C integration and that's the only thing it was designed for and the only thing its good at.

Sure, the language itself is terrible and unremarkable, but people don't care about that. What they care about it is how easy it's going to integrate into their C program, and that's why everybody uses Lua as their scripting interface of choice.

why do people call it "assembly" when it's assembler?

quick, super nintendo chalmers! call a general assembly!

the assembler is the program that assembles though, not the language

>Typed variant (static typing)
>Contracts provide precise and easy to read error messages
>Cross-platform GUI library piss easy to use, Carmack's son uses it!
>Piss easy to write new languages in Racket
>Scheme to the core. Hygienic Macros. Simple core syntax.
>Community is always friendly

Racket confirmed for best laguage

and Ruby what's coming on? with this language?

This makes no sense thinking programming-wise.

Your obseevation already proves me you are retarded.

The 0 index is the offset. 0 offset is first element 1 is the second, etc.

Yeah it looks great to have base 1 indexes, but it is a downside if you are an experienced programmer.

This. It's C done right for the modern world.

Anons who don't realize that there are many different assembly languages.

I like x64 or 8086

0 indexing fundamentally comes from the offset concept

e.g. you have some address in memory; that address + 0 is the first entry, + 1 is the second entry, and so on.

Or for example you want to iterate over elements, then you count for (int i = 0; i < num; i++) rather than for (int i = 1; i

>Garbage collection

no it isn't

You mean x86 and x64 ?

I mean they are the same assembly language, just different/new registers and if you did ever write it you would not like it.

Something like mips is so much nicer