louiscad
03/26/2021, 1:49 PMval TODO: Nothing inline get() = TODO()
The lowercase version could also be nice.Zach Klippenstein (he/him) [MOD]
03/26/2021, 2:01 PMTOOD
because I always typo it that way 😅tddmonkey
03/26/2021, 3:03 PMlouiscad
03/26/2021, 3:04 PMlouiscad
03/26/2021, 3:07 PMasync
and don't await
each other.Shawn
03/26/2021, 4:00 PMlouiscad
03/26/2021, 4:04 PMtab
and enter
with one hand, so it's not so much a hardware problem 😉Shawn
03/26/2021, 5:11 PMlouiscad
03/26/2021, 5:13 PMlouiscad
03/26/2021, 5:14 PMlouiscad
03/26/2021, 5:15 PMTODO()
properly so the code is not all red is counter-productive.Fleshgrinder
03/27/2021, 8:31 AMtddmonkey
03/27/2021, 12:29 PMMarc Knaup
03/29/2021, 12:55 PMFIXME
.
The IDE supports both.
And for me FIXME
is urgent while TODO
is not.louiscad
03/29/2021, 12:58 PMMarc Knaup
03/29/2021, 12:58 PMlouiscad
03/29/2021, 12:59 PMTODO()
calls beyond WIP branches, plus you can use find usages.Marc Knaup
03/29/2021, 12:59 PMlouiscad
03/29/2021, 1:00 PM//TODO
in it, it will find all the ones in EOL (end of line) comment.Marc Knaup
03/29/2021, 1:02 PMTODO
, is it?
Also, you can only use TODO()
if actual code is // FIXME There's an occasional race condition.
louiscad
03/29/2021, 1:03 PMTODO()
in code will crash when reached, plus all the code after is marked as unreachable, I think that's good enough.
If people cannot understand the difference, I'd question giving them the power to do whatever on your codebase.Marc Knaup
03/29/2021, 1:04 PMlouiscad
03/29/2021, 1:04 PMMarc Knaup
03/29/2021, 1:04 PMlouiscad
03/29/2021, 1:04 PMMarc Knaup
03/29/2021, 1:05 PMYeah, then just use the commentsBut then I do need a FIXME instead of TODO?
louiscad
03/29/2021, 1:05 PMMarc Knaup
03/29/2021, 1:05 PMlouiscad
03/29/2021, 1:06 PMMarc Knaup
03/29/2021, 1:06 PMlouiscad
03/29/2021, 1:08 PM//TODO (DONT DEPLOY)
, then great 😉louiscad
03/29/2021, 1:08 PMMarc Knaup
03/29/2021, 1:10 PMTODO
quite weak for something that’s completely missing.louiscad
03/29/2021, 1:15 PMMarc Knaup
03/29/2021, 1:16 PMlouiscad
03/29/2021, 1:16 PM@RequiresOptIn
louiscad
03/29/2021, 1:16 PMYourSuperToDo(…)
, FixMeBeforeProdDeploy()
, etc.louiscad
03/29/2021, 1:17 PMMarc Knaup
03/29/2021, 1:17 PMfun TODO()
in Kotlin it would just be a regular function (or val
) with a special annotation?louiscad
03/29/2021, 1:18 PM@DslMarker
. Example name: @TodoMarker
Marc Knaup
03/29/2021, 1:19 PMlouiscad
03/29/2021, 1:19 PMMarc Knaup
03/29/2021, 1:20 PMMarc Knaup
03/29/2021, 1:21 PMlouiscad
03/29/2021, 1:21 PMMarc Knaup
03/29/2021, 1:21 PMMarc Knaup
03/29/2021, 1:21 PMlouiscad
03/29/2021, 1:23 PMFleshgrinder
03/30/2021, 6:26 AMgildor
04/09/2021, 5:35 AMTODO()
, it always top suggestion if you use capital letterslouiscad
04/09/2021, 8:10 AMgildor
04/09/2021, 8:14 AMgildor
04/09/2021, 8:18 AMlouiscad
04/09/2021, 8:19 AMlouiscad
04/09/2021, 8:21 AMTO
+ hit the tab key quickly. Result: TO
louiscad
04/09/2021, 8:22 AMgildor
04/09/2021, 8:28 AM