Can we use empty values instead of null?
See original GitHub issueis it possible to make nulls to empty values for each cases. for example, i may want to write a string which’s null word;
test: null
test: 'null'
test: "null"
like that, or i may want to write a section which’s empty;
test: {}
like that, or for maybe a empty list;
test: []
i think this makes sense more than the writing null keyword. what you think about that? also i think files shouldn’t have the null values which are absolutely bullshit.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
3 Clever Ways to Return Empty Value Instead of Null From a ...
It is best practice to return empty values rather than null ones. Especially when you return a collection, enumerable, or an object, you...
Read more >When to use NULL and when to use an empty string?
It depends on the domain you are working on. NULL means absence of value (i.e. there is no ...
Read more >Use of empty strings instead of null - a good practice?
That depends on your use case. null is a special value and has a special semantic. You may default all to empty string...
Read more >How to replace NULL with Empty String in SQL Server ...
There are two ways to replace NULL with blank values in SQL Server, function ISNULL(), and COALESCE(). Both functions replace the value you...
Read more >On Null or Why Empty Strings are not Same as Null
For strings things get a bit more complicated. A SQL NVARCHAR() NULL can be either empty or null . If you allow the...
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
@portlek I opened #368 for implementing flow representation.
Thanks a lot, it’ll good to see this feature in the library.