Y
Yu-Hsuan Lai
[Note: parts of this message were removed to make it a legal post.]
I'm a high school student and beginner of ruby.
I know that ruby is a functional-hybrid language which has many elegant
features such as first-class function, closure and implicit return.
But I also have heard the slogan "least astonishment".
I only used to learn C and C++. In my country, majority of students (school
or university) study C/C++/Java and self-study C#/VB/PHP/ASP. We seldom use
lisp or haskell.
I think that for most people, functional programming can cause much
astonishment.
Of course readability is important. So, should I write ruby in C-like
paradigm in order to decrease astonishment?
I'm a high school student and beginner of ruby.
I know that ruby is a functional-hybrid language which has many elegant
features such as first-class function, closure and implicit return.
But I also have heard the slogan "least astonishment".
I only used to learn C and C++. In my country, majority of students (school
or university) study C/C++/Java and self-study C#/VB/PHP/ASP. We seldom use
lisp or haskell.
I think that for most people, functional programming can cause much
astonishment.
Of course readability is important. So, should I write ruby in C-like
paradigm in order to decrease astonishment?