Message249759
| Author |
flying sheep |
| Recipients |
barry, doko, eric.araujo, flying sheep, fwierzbicki, georg.brandl, glyph, lemburg, martin.panter, michael.foord, ned.deily, pitrou, r.david.murray, ronaldoussoren, steve.dower, tarek |
| Date |
2015年09月04日.12:40:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1441370412.34.0.886368888274.issue7175@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
just because people do something doesn’t mean it’s right.
i guess the tendency for CLI applications to do it wrong comes from
1. their ad-hoc beginnings. you usually start with one script file and extend it
2. availability expanduser('~') is in the stdlib and more well-known than e.g. appdirs, and people don’t like to add dependencies to small things
3. the shell and old, widely used applications using ~/.appname, so it’s more well-know to do that
on the other hand, GUI applications usually have a build system in place for UI file compilation, need a .desktop file installed, and so on, i.e. need more boilerplate and dependencies from the start, and people have to research how to do things properly. GUI libraries have their built-in standard dirs interfaces as well.
————————
another thing. on the python-ideas thread someone mentioned that
> I count 17 of those on my Windows machine (!) right now, including .idlerc, .ipython, .matplotlib, .ipylint.d etc.
this is horrible! this is so obviously the wrong thing to do. i hope having the module will reduce the number of similar atrocities. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年09月04日 12:40:12 | flying sheep | set | recipients:
+ flying sheep, lemburg, barry, georg.brandl, doko, ronaldoussoren, pitrou, tarek, fwierzbicki, ned.deily, glyph, eric.araujo, r.david.murray, michael.foord, martin.panter, steve.dower |
| 2015年09月04日 12:40:12 | flying sheep | set | messageid: <1441370412.34.0.886368888274.issue7175@psf.upfronthosting.co.za> |
| 2015年09月04日 12:40:12 | flying sheep | link | issue7175 messages |
| 2015年09月04日 12:40:11 | flying sheep | create |
|