|
|
|
|
|
by kbp
3128 days ago
|
|
> Again, the "Perl lost to Python/Ruby ... terseness" connection is your narrative, not mine. Well, if you just weren't considering Python and Ruby, then aren't they counter-examples to your point? They're terser than Perl in that regard; if that's a major reason people moved away from Perl, then why did so many of them move to those languages? > I agree and I didn't say they were. Then why did you bring them up in a discussion about sigils? |
|
Again, that wasn't the "regard" I was focused on. It wasn't strlen(Perl_syntax) to strlen(Python_syntax). It's not about counting characters. It was terseness of non-obvious meanings for symbols which reduced readability for many. Yes, "$foo=7" is literally 1 character longer than "foo=7" which seems to violate terseness. (This is the example you seem to always gravitate back to.) For the 2nd time, I'm stressing that I already agree with that definition. However, that wasn't what I was talking about. People unfamiliar with a language that happens to have "ArrayList" spelled out will see as not being as terse as "@". It's a different axis of terseness. This cognitive readability is orthogonal to whether people migrate to Python because it's 1 less character type in front of a variable name.
>Then why did you bring them up in a discussion about sigils?
I wasn't talking about sigils exclusively by that point. I was talking about overall readability and "line noise" to fill out the C# story.