DEV Community

Discussion on: Which mainstream programming language has the ugliest syntax?

Collapse
 
hrmny profile image
Leah

What's the benefit of typing out function?

There is none, it just adds more characters

Thread Thread
 
chrisvasqm profile image
Christian Vasquez • Edited

Then we should use f because "un" would just add a few more characters 🤔.

I think there's a fine line between short and too short.

Thread Thread
 
alainvanhout profile image
Alain Van Hout

There's a reason why we don't all prefer our Shakespeare or our technical documentation in SMS/text speak :).

Thread Thread
 
juhohame profile image
Juho Häme

Writing code Shakespeare style would be awful.

Thread Thread
 
awwsmm profile image
Andrew (he/him)

f already stands for function in mathematics:

y = f(x)
Thread Thread
 
hrmny profile image
Leah

it's just what you start with, the next one would be g(x)