How to begin an error/die string? Upper- or lower-case letter?
- From
Lars Schneider <larsxschneider@gmail.com>
- Date
- Dec 11, 2017, 10:23 UTC
- Message-ID
- <0ABBA110-59E9-423C-9A8E-9CF4BE2C4CA9@gmail.com>
Hi,
error() and die() messages seems to begin with upper-case and lower-case letters in the Git code base:
git grep 'error(_' | perl -nE 'say /.*error\(_\("(.).*/' | sort | uniq -c
git grep 'die(_' | perl -nE 'say /.*die\(_\("(.).*/' | sort | uniq -cDo we prefer one way over the other?
Thanks, Lars