Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

What Language Do You Find Most Readable?

Name: Anonymous 2012-12-20 8:31

Personally, I find BBCODE to be the most readable and concise.

Name: Anonymous 2012-12-20 9:05

COBOL

Name: Anonymous 2012-12-20 9:07

haskell

Name: Anonymous 2012-12-20 9:08

English out of the ones I know.

Name: Anonymous 2012-12-20 9:28

English is shit. Spanish is beautiful

Name: Anonymous 2012-12-20 9:28

Also Le french

Name: Anonymous 2012-12-20 9:58

Java

Name: Anonymous 2012-12-20 10:13

Russian. Because it is my native language.

For the same reason people find BASIC or curly-brace languages the most readable, because they were their first languages.

Name: Anonymous 2012-12-20 11:11

>>8
PRIVET, товарищ! KAK DELA?

Name: Anonymous 2012-12-20 12:03

I find Chinese to have a high information to sentence length ratio.

Name: Anonymous 2012-12-20 12:15

Руби бля посана, вери читаемый езык.

Name: Anonymous 2012-12-20 14:31

Haskell

Name: Anonymous 2012-12-20 16:44

FIOC

Name: Anonymous 2012-12-20 17:47

Latin ⇔ Scheme
English ⇔ Java
Japanese ⇔ APL
Hebrew ⇔ C++
Arabic ⇔ FIOC
Russian ⇔ Perl

Name: Anonymous 2012-12-20 20:03

>>14
Arabic is some stack-based language for sure, what with right-to-left writing.

Name: Anonymous 2012-12-20 22:26

Scheme. Going by the early theory, it was my first language

Name: Anonymous 2012-12-20 22:48

English is C++, faggot.

Name: Anonymous 2012-12-21 13:28

>>3
 Nah, haskell is more like chinese with it zillions operators.

Name: Anonymous 2012-12-21 15:05

Nothing more readable than C

Name: Anonymous 2012-12-21 15:12

>>19

Except M4, which is a purely functional language.

Name: Anonymous 2012-12-21 15:18

>>20

changecom(`#',`')dnl
dnl# `Id`
define(Id, $1)dnl
dnl# `Lambda'
define(Lambda, `define($1, `$2')')dnl
define(Curry1, `define($1,`$2'($3,$`'1,$`'2,$`'3,$`'4))')dnl
define(Curry2, `define($1,`$2'($3,$4,$`'1,$`'2,$`'3,$`'4))')dnl
define(Curry3, `define($1,`$2'($3,$4,$5,$`'1,$`'2,$`'3,$`'4))')dnl
define(Curry4, `define($1,`$2'($3,$4,$5,$6,$`'1,$`'2,$`'3,$`'4))')dnl
define(Curry5, `define($1,`$2'($3,$4,$5,$6,$7,$`'1,$`'2,$`'3,$`'4))')dnl
define(Curry6, `define($1,`$2'($3,$4,$5,$6,$7,$8,$`'1,$`'2,$`'3,$`'4))')dnl
dnl# `Logical operators'
define(True, 1)dnl
define(False,0)dnl
define(Not, `ifelse($1, True, False, `ifelse($1, False, True, `errprint(Not a bool)')')')dnl
define(isBool, `ifelse($1, True, True, `ifelse($1, False, True, False)')')dnl
define(And, `ifelse($1, True, `ifelse($2, True, True, False)', False)')dnl
define(Or, `ifelse($1, True, True, `ifelse($2, True, True, False)')')dnl
dnl# `List operators'
define(Empty, [])dnl
define(Prep, `ifelse($2,[],[$1;],[$1;`substr($2,1,decr(len($2)))')')dnl
define(App, `ifelse($2,[],[$1;],`substr($2, 0, decr(len($2)))'$1;])')dnl
define(Next, `substr($2,$1,1)')dnl
define(Getpos, `ifelse(Next($1,$2),$3,$1,`Getpos(incr($1), $2, $3)')')dnl
define(Head, `substr($1, 1, decr(Getpos(0, $1,;)))')dnl
define(Tail, `ifelse($1,[],`errprint(tail: empty list)',[`substr($1,incr(Getpos(0,$1,;)))')')dnl
define(Index, `ifelse($1,0,`Head($2)',`Index(decr($1), Tail($2))')')dnl
define(Null, `ifelse($1,[],True,False)')dnl
dnl# `Foldr continuation passing style'
define(_Step, `$4(`$1',$1(Head($3),$2),Tail($3))')dnl
define(Foldr, `ifelse(Null($3),True,$2,`_Step(`$1',$2,$3,`Foldr')')')dnl
dnl# `Foldl continuation passing style'
define(_Stepl, `$4(`$1',$1($2,Head($3)),Tail($3))')dnl
define(Foldl, `ifelse(Null($3),True,$2,`_Stepl(`$1',$2,$3,`Foldl')')')dnl
dnl# `Sum example usage of Foldr'
define(Plus, `eval($1+$2)')dnl
define(Sum, `Foldr(`Plus',0,$1)')dnl
dnl# `Filter'
dnl# `Filter creates an locally scoped curried function, implemented withdefine..undefine'
dnl# ` ```$1''' is just a trick to get the function unpacked at the right place. Every passing
dnl# `removes a `' from the functionname'
define(_Stepf, `ifelse($1($2), True, Prep($2, $3), $3)')dnl


Example code:


Lambda(x,`eval($1-($2))')dnl
`foldr'(`x',0,[3;2;1]) is : Foldr(`x',0,t)
`foldl'(`x',0,[3;2;1]) is : Foldl(`x',0,t)

Name: Anonymous 2012-12-21 15:19

>>21
Forget filter


dnl# `Filter creates an locally scoped curried function, implemented withdefine..undefine'
dnl# ` ```$1''' is just a trick to get the function unpacked at the right place. Every passing
dnl# `removes a `' from the functionname'
define(_Stepf, `ifelse($1($2), True, Prep($2, $3), $3)')dnl
define(Filter,`Curry1(__Stepf,`_Stepf',```$1''')Foldr(`__Stepf',Empty,`$2')undefine(`__Stepf')')dnl

Name: Anonymous 2012-12-21 15:24

Tcl because just about every line follows the English structure for the imperative mood, i.e. verb + object (+ complement/object/adverbial)
puts "Hello"
set foo 12
loop i
Everything is a command.

Name: Anonymous 2012-12-21 15:26

Readability at your finger tips:


Lambda(y, `eval($1 == 1)')dnl
`Filter'(`Lambda'(`ifelse'(`$1==1')), t) : Filter(`y', t)

Name: Anonymous 2012-12-21 16:39

>>21
looks something like actual J source

Name: Anonymous 2012-12-22 2:59

>>10
how about the information-to-number-of-strokes ratio

Name: Anonymous 2012-12-22 12:46

Symta.

Name: Anonymous 2012-12-22 17:50

>>8

you dare to mention that curly braces aren't convenient by themselves? are you a python faggot or something. you like forced identation, tovarisch?

Don't change these.
Name: Email:
Entire Thread Thread List