New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kebab-case #22
Comments
|
Do we need to keep the old ones as deprecated and add the new ones? |
|
yes please. And rethink the method names in general. Anything with ref is suspicious. Oh, and we have lazy lists now. Which means that Should really be And if one wants the row as a hash, it should probably be |
|
I am actually playing around with this in DBI (deprecating all the fetch**) There is one issue with using For now I will try with There is also another issue. What to do with large string field or blob field? We can return a copy but it's probably not really ram friendly, but if we return what the C lib give us, it can became easily lost memory since (in case of Pg for example) we need to call a clear routine on this. |
|
I did not figure how to have for $sth.row -> @Row work with having $std.row only returning one result for now. I am not sure if all *ref are really useful in perl6, so I just forget about them. |
|
Should I close that and deprecate all the _ to keep only the kebab cased method? |
|
Ok |
|
The old DBI fetch* stuff was deprecated in d0c1d05 and the README has been updated since. I think everything in this discussion is complete. The internal code is still a mix of underscore, kebab-case and dashed variables but that seems a separate issue. |
There's some lower_case methods. I suggest to rename these methods before christmas.
The text was updated successfully, but these errors were encountered: