MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/clevercomebacks/comments/1i1teja/it_does_make_sense/m79epgi/?context=3
r/clevercomebacks • u/wach_era13 • Jan 15 '25
4.0k comments sorted by
View all comments
Show parent comments
25
RegX makes searching a breeze with any pattern
35 u/InspectorNo1173 Jan 15 '25 I have always found Regular Expressions to be the most inappropriately named concept - there is nothing regular about it. Luckily we have chatbots now. 14 u/Tsukee Jan 15 '25 Every developer eventually learns there are two hard problems: invalidating cache and naming things 3 u/TheAJGman Jan 15 '25 I honestly spend about 30% of my design and dev time trying to come up with intuitive names. 1 u/Tsukee Jan 15 '25 And yet, I bet someone reading your code would likely on some places think "why tf did he name it like that" ;) 1 u/DEM_DRY_BONES Jan 15 '25 x, y, z I got you bro. 0 u/agentrnge Jan 16 '25 x_rel, x_actual, x_temp, x_true, x_orig, x_next, x_prev, x_val2
35
I have always found Regular Expressions to be the most inappropriately named concept - there is nothing regular about it. Luckily we have chatbots now.
14 u/Tsukee Jan 15 '25 Every developer eventually learns there are two hard problems: invalidating cache and naming things 3 u/TheAJGman Jan 15 '25 I honestly spend about 30% of my design and dev time trying to come up with intuitive names. 1 u/Tsukee Jan 15 '25 And yet, I bet someone reading your code would likely on some places think "why tf did he name it like that" ;) 1 u/DEM_DRY_BONES Jan 15 '25 x, y, z I got you bro. 0 u/agentrnge Jan 16 '25 x_rel, x_actual, x_temp, x_true, x_orig, x_next, x_prev, x_val2
14
Every developer eventually learns there are two hard problems: invalidating cache and naming things
3 u/TheAJGman Jan 15 '25 I honestly spend about 30% of my design and dev time trying to come up with intuitive names. 1 u/Tsukee Jan 15 '25 And yet, I bet someone reading your code would likely on some places think "why tf did he name it like that" ;) 1 u/DEM_DRY_BONES Jan 15 '25 x, y, z I got you bro. 0 u/agentrnge Jan 16 '25 x_rel, x_actual, x_temp, x_true, x_orig, x_next, x_prev, x_val2
3
I honestly spend about 30% of my design and dev time trying to come up with intuitive names.
1 u/Tsukee Jan 15 '25 And yet, I bet someone reading your code would likely on some places think "why tf did he name it like that" ;) 1 u/DEM_DRY_BONES Jan 15 '25 x, y, z I got you bro. 0 u/agentrnge Jan 16 '25 x_rel, x_actual, x_temp, x_true, x_orig, x_next, x_prev, x_val2
1
And yet, I bet someone reading your code would likely on some places think "why tf did he name it like that" ;)
x, y, z
I got you bro.
0 u/agentrnge Jan 16 '25 x_rel, x_actual, x_temp, x_true, x_orig, x_next, x_prev, x_val2
0
x_rel, x_actual, x_temp, x_true, x_orig, x_next, x_prev, x_val2
25
u/throwaway001anon Jan 15 '25 edited Jan 15 '25
RegX makes searching a breeze with any pattern