About collection handling
See original GitHub issueHey!
Really nice idea, library looks prettry good as well, I had found my self doing the same boleirplate code that this library smothly generate 😃
I only have one question why use + plus symbol for collections, IMHO it looks verbose.
friends {
+person {
name = "Arturo"
age = 28
}
+person {
name = "Tiwa"
age = 30
}
}
over
friends {
person {
name = "Arturo"
age = 28
}
person {
name = "Tiwa"
age = 30
}
}
(In my code I only instance builder with empty mutable collection and then add each item so generated dsl looks cleaner)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Specimen Collection & Processing Procedures | UCHealth
Proper specimen collection and handling is an integral part of obtaining a valid and timely laboratory test result. Specimens must be obtained in...
Read more >SPECIMEN COLLECTION, HANDLING, and TRANSPORT
These guidelines cover some of the key steps in handling blood samples to provide optimal specimens for testing. Principle. There are multiple Pre-Analytical ......
Read more >Specimen collection and handling best practices and pitfalls
Specimen integrity: Avoid contaminating a specimen with interfering substances during specimen collection. Buccal samples for genetic tests if ...
Read more >The Importance of Proper Specimen Collection and Handling
It is a foundational principle for any laboratory test procedure that the value of the test is compromised or even negated by using...
Read more >Specimen Collection, Handling, and Processing | SpringerLink
This includes maintaining the integrity and confidentiality of the patient's specimen; the proper collection of numerous types of specimens, ...
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
Juan thanks for the feedback! It’s an interesting point! To be honest I need to think about to add this feature as I’m not 100% sure if this could bring other confusions on how to use Collections. Still feel free to send a PR, I think will be a great starting point to review it in more details.
This style is how I do my builders, no need for the +, just the function call adds to its owner’s collection.