Comments (10)
OK, I'll make a poll.
from rio.
Framing seems good! I prefer camelcase for acronyms in general. Example mentioned by Taylor Fausuk elsewhere was XMLHTTPRequest
. Gross! So the only consistent rule that works in all cases is camelcase even for acronyms. I suspect IO
is the way it is because Io
looks weird, whereas io
looks fine.
It seems like to some extent we're getting into the space of "style guide". Maybe not how you should indent, but at least how you should name. So it makes sense to consider this as a question wider than the specific name choice for the rio
's monad.
from rio.
Argument for RIO
to be upper case in the data type: it's simple ReaderT
+ IO
, so the letters R
, I
, and O
are already capitalized. Counterpoint: if io
is both lowercase, it works.
Total aside: this bikeshedding around capitalization was one of the reasons pushing me towards using the jump
name for this library instead of rio
, see #8.
from rio.
Tossing in a vote for Rio
, though I won't be upset if it stays all-caps.
from rio.
Should we put this up for a twitter vote? What's the process for making a decision? Concerned that if we let it languish, RIO
will just become the defacto choice due to the cost of refactoring adopters.
It's ok but I will probably wince a little bit when I see it, at least until I get used to it. Seems rather shouty and harder to type, among the reasons already given.
from rio.
https://twitter.com/snoyberg/status/958807583334248448
from rio.
Should this ticket be closed with final decission, or we want other data points besides the Twitter poll?
from rio.
I'll refer the question to @mgsloan, since I think he's the strongest proponent of renaming. For the record, here are the poll results
from rio.
Hmm, I think it's interesting that 51% or so are interested in change away from RIO
. I don't like mixing RIO
and Rio
, it should be one or the other.
I wish that twitter polls would randomize the order so that there isn't bias based on the order.
However, since there doesn't seem to be much majority interest in changing to Rio
/ Rio
, I suppose it seems reasonable to close this and I will just live with holding down shift for a few extra keys.
I do think that if one were to write down consistent readable naming rules, it makes the most sense to camelcase abbreviations. So, therefore Rio
would be better if we ever want to write down such a rule.
from rio.
OK, closing.
from rio.
Related Issues (20)
- Show instance and showsPrec HOT 1
- documentation: it's not clear what the "source" argument to logInfoS and friends is for HOT 3
- missing a way to modify a logfunc to provide context HOT 5
- RIO.Process is running an "original" instead of a symbolic link HOT 7
- RIO.Process does not allow to Linux style operations on Windows and vice versa (or I didn't find the way to do it). HOT 1
- RIO module exports words :: String -> [String] HOT 1
- Lifting to Path HOT 1
- Multi-threaded logging HOT 2
- logOptionsHandle -> logSend is not thread-safe HOT 3
- A simple way to extend `SimpleApp`? HOT 3
- augmentPathMap assumes uppercase PATH on windows HOT 10
- Possible bug in RIO's MoandWriter (listen and pass) implementations HOT 2
- fold*1 variants for NonEmpty HOT 3
- Question: is there any chance to move logger to external library and expose some internals? HOT 3
- StrictData language extension HOT 1
- Explain how RIO.Vector relates to Data.Vector?
- Rio.Process shell (like proc) HOT 3
- HLint is triggered
- Unexpected omissions from submodule exports (e.g., RIO.Vector.iforM_) HOT 2
- How to improve integration with Haskeline or vty, using RIO with a terminal interface.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rio.