Timeline for Define default value to a variable
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 28 at 7:48 | vote | accept | Moshe | ||
Jun 8, 2021 at 12:00 | history | edited | Moshe | CC BY-SA 4.0 |
added 24 characters in body; edited tags
|
Jun 8, 2021 at 8:08 | answer | added | Maxim Kim | timeline score: 2 | |
Jun 8, 2021 at 7:26 | comment | added | Moshe | @BLayer yes exactly both, and bash. | |
Jun 8, 2021 at 7:24 | comment | added | B Layer | Gotta admit I'm not a fan of that format. The elvis-operator is great (not in vimscript, unfortunately) but that "or" syntax is non-intuitive...kind of "gross" lol. What languages are you a regular user of? Javascript? Python? (Just curious...nothing to do with an answer. :) | |
Jun 8, 2021 at 7:04 | comment | added | B Layer | Ah, okay. :) I misinterpreted what you are conveying. | |
Jun 8, 2021 at 7:04 | history | edited | Moshe | CC BY-SA 4.0 |
added 40 characters in body
|
Jun 8, 2021 at 7:04 | comment | added | Moshe | @BLayer I love ternary, but I wonder if those 2 lines can be compacted to 1. | |
Jun 8, 2021 at 7:00 | history | asked | Moshe | CC BY-SA 4.0 |