Complicated regexes should have a link to its regex101 that lists all the matches mismatches it’s covers
2024-11-30 01:38:18
375
baejay1234 :
I learn regex each time I use regex, it’s a vicious cycle.
2024-12-04 07:02:08
372
yp :
I trust my guy
2025-01-11 00:20:25
0
Kalagan :
when you create a PR you need to leave some obvious typos as a decoy
2024-11-30 00:20:43
64
Mike C 🇨🇦 :
there should be tests that validate that it works as expected.
2024-11-30 05:04:13
2
kalm42 :
So true. Honestly reminds me of a coworker. I feel bad every time I have to comment that the name they chose for whatever is it descriptive enough.
2024-11-30 00:52:12
0
mandki2022 :
nailed it
2024-12-08 19:36:49
0
soner :
Facts. And people say “but they can’t reasooon” for LLMs. Can most people do!?
2024-12-01 03:05:17
0
raspberrypi889 :
bike shed problem
2024-12-02 17:45:04
0
Chet :
i was told regex is a write-only language. couldnt argue with that 😅
2024-12-02 04:45:20
51
skellskull :
comment should explain the regex’s goal. You can look it up online if you don’t understand regex. Use chat gpt. Idk
2024-12-03 02:43:35
0
GnarGnarOne :
Nah hell no, I look through every line of code 20 times and then review the mechanisms in Unity before I leave all my rejection comments in plastic SCM. 😂🤣
2024-12-05 05:17:19
0
Hamma Azarok :
If you don't know why it works, you won't know why it doesn't later.
2024-11-30 19:34:52
0
auto189 :
don't use regex. never ever
2024-11-30 03:14:43
1
DJ SHRIMP :
All my variable and function names take up a full line width, very descriptive, every character is of equal importance
2024-11-30 16:53:46
1
chu_wik :
I can confirm.
2024-12-02 01:47:43
0
Zuto Crni :
Yes, even managers are now doing code reviews and this is true 100,,%
2025-01-06 08:08:27
0
Abdulaziz :
What tool he uses to draw?
2024-11-30 22:32:57
0
citharaaeternitaris :
I know lots of devs who do this. As someone who enjoys regexes, it saddens me that devs avoid regexes for this reason.
2024-12-01 12:19:51
0
sleek-carrot :
It’s called bikeshedding.
2024-11-29 22:31:37
11
notReallyJosh :
Usually I force the author to comment what the regex is for then ask chatgpt to verify. I swear I’ve learned how regex works like 20 times about the number of times I’ve seen regex in a PR or used it
2024-11-30 01:58:05
11
Ignacio :
Just call everything ‘result’ works 100% of the time
2024-12-10 23:57:16
0
Skittlez :
True 😂
2024-11-29 23:23:05
2
grim_reaper20 :
it's good to become aware of this
2024-12-02 07:48:13
0
gatesofshawn :
code review is only really useful for checking that the code integrates well with the overall codebase and doesn't hinder the collaboration of the team, not that every line correct
2024-12-03 02:17:22
0
To see more videos from user @theprimeagen, please go to the Tikwm
homepage.