develooper Front page | perl.perl5.porters | Postings from July 2017

[perl #131685] Rename utf8::is_utf8() (and other functions)

Thread Previous | Thread Next
From:
Hugo van der Sanden via RT
Date:
July 17, 2017 20:09
Subject:
[perl #131685] Rename utf8::is_utf8() (and other functions)
Message ID:
rt-4.0.24-21027-1500322182-224.131685-15-0@perl.org
On Mon, 17 Jul 2017 01:47:32 -0700, xsawyerx@gmail.com wrote:
> I have mixed thoughts about this.

Me too.

> If we decide to have better named functions [...]
> For new developers, it will be simple at first, until you come
> in contact with the old name. It is likely this will also happen early,
> so you need to learn two names anyway. [...]

I just want to reach a bit deeper into "likely this will also happen early" - in my limited experience, most people working in a perl shop tend to read lots of code in their local codebase, but rarely read code outside of it (not even for the CPAN modules they're using). So wherever the local codebase gets cleaned up, it may not happen that early for a good proportion of new developers.

Maybe you had in mind primarily historical threads googled up from perlmonks, stackoverflow and the like; I agree those are less likely to get cleaned up. I cannot guess what proportion of newish developers would hit those; I can't even guess what proportion of me would hit those had I been born 30 years later.

Hugo

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=131685

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About