Rename `schema::Object.builtin` to `is_builtin`
See original GitHub issueWe’re using an is_
prefix pretty consistently for bool flags. @vpetrovykh please fix this one and take a close look if we have other inconsistencies.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Rename builtin prototype method in javascript - Stack Overflow
There are 3 options: Creating an alias to the prototype: String.prototype.strRepeater = String.prototype.repeat;.
Read more >Renaming Schema Objects
You can rename schema objects in either of the following ways: Drop and re-create the object. Rename the object using the RENAME statement....
Read more >Built-in Functions — Python 3.11.1 documentation
Return a new array of bytes. The bytearray class is a mutable sequence of integers in the range 0 <= x < 256....
Read more >Rename Schema Object returned · Issue #642 - GitHub
Hi. I have a generic type object for my controller response, Response, which I would like to rename on swagger.json generation to something ......
Read more >Renaming and refactoring schemas in physical data models
In addition to this method, you can also rename schemas by highlighting a schema object in a physical data model and pressing F2,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To clarify what I mean by “my sense of formalism is in strong opposition of actual natural language use” I mean that consistent
is_
prefixes forbool
flags seem appealing to me, personally. However, having them as part of the names makes it awkward to write actual English sentences like “If the property in question isis_required
…” and forces re-wording like “If the property has anis_required
flag set totrue
…”. In spoken English it’s not a big deal, but in a written manual/example it becomes a bit awkward.So
1 IF link.is_required ELSE 0
may look good in code, but it’s awkward in docs. I think I just made a case againstis_
prefix…That’s correct.