Closed TangoMan75 closed 3 years ago
I love it, would you file a PR for those changes ? If you don't plan to propose, I could implement this when I have time, let me know :)
Hi @liorchamla, š it is not a lot of work at all, I can have a PR ready quite soon.
Hi Yoan, š
I was looking at your videos š and I thought I could help on your Airtable project with a couple suggestions.
š” 1. Rename
findTheLatest()
tofindLast()
š„ Affected files:
Though not grammatically incorrect per se, usage of superlative
Latest
and articleThe
makes me cringe š¬ a little. I suppose native english speaker would simply usefindLast()
. For example if we would need to retrieve the first item in Airtable we would not name the methodfindTheFirst()
we would simply name itfindFirst()
IMHO.š” 2. Rename
addOneRecord()
toaddRecord()
, oradd()
š„ Affected files:
Do you plan to develop a
addMultipleRecords()
method at some point in the future ? If not, maybeaddRecord()
would be just as good from a semantics point of view then... Or justadd()
. I like to keep method names short and simple.š” 3. Rename
findOneById()
tofind()
š„ Affected files:
With
Doctrine
we would just usefind()
method to query an item by id from the database, I suggest to use the same convention.Tell me what you think about it, and I will work on a PR to fix this.
Hope that helps, peace ā