Refactor existing areas to use readable ids rather than numeric
See original GitHub issueDescription
Having numeric IDs such as limbo:1
and craft:2
makes it very difficult to tell exactly what the room/item/NPC is that is being referenced.
This makes it tough for beginning builders to work with the existing areas, and also leads to the misconception that IDs have to be numeric.
Expected outcome
An ID for an entity reference should be at least somewhat human readable, such as craft:greenplant
.
Actual outcome
Many IDs are not human-friendly and consist of a single-digit number.
Steps to reproduce
Look at the default bundle item definitions.
Version of Ranvier
2.0.0 (and all other versions thus far)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to refactor String id to class Id in a big legacy project?
Refactor the current method String getId() to Id getUniqueID(); Where ID is compared to a string directly using id.equals("String") or id.
Read more >How to refactor code and why you should
Refactoring is when you take existing, working code and rewrite all or part of it to improve it in some way that doesn't...
Read more >Where is the best place to start refactoring js?
A. You are using many Magic String Values. These can make readability and maintainability difficult. You could move them into constants.
Read more >Chapter 8. Refactoring, testing, and debugging - Java 8 in Action
It presents several recipes showing how you can refactor existing code to make use of lambda expressions and gain more readability and flexibility....
Read more >43% Less Code With A Better Data Structure
In this session we review & refactor an interesting problem. ... improved compared to the code in the video using a Set instead...
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
Any update on that pr?
Closed in #340