| user name /\ | message | ||
|
10bag |
i dunno, to me readability means i don't have to google to read it | ||
|
mystiksoda |
but in this case regex is better | ||
|
mystiksoda |
and yes everyone avoids regex, including me | ||
|
mystiksoda |
that can only be achieved with regex unless u wanna write a bunch of loops and conditions which will basically be linbes of code and time wasted with no readability and probably even performance gains | ||
|
10bag |
i'm not being obtuse i just personally avoid regex whenever i can because i just can't read it | ||
|
mystiksoda |
you have no controll whatsoever on what exact parts of the string get replaced or under what conditions | ||
|
10bag |
or do it in a loop? | ||
|
mystiksoda |
and even then u stil have issues like @XcomReborn mnetioned | ||
|
mystiksoda |
because u'd literally be writing something along the lines mystring..replace (\"a\", \"b\").replace(\"c\", \"d\").replace... and so on | ||
|
10bag |
because c# has somehow changed or because i misunderstand the original problem? | ||
|
mystiksoda |
and even if string.replace is faster, it is by no means more readable in this situation | ||
|
10bag |
that SO question isn't applicable? | ||
|
mystiksoda |
he already explained | ||
|
mystiksoda |
James* | ||
|
10bag |
bro i just want to understand the problem at hand | ||
|
mystiksoda |
if u wanna go down that route do you even know who Jmaes Newton King is? | ||
|
10bag |
i didn't, i just clicked his name on stack overflow there | ||
|
capricciosa |
I think you just need to run filecheck | ||
|
mystiksoda |
i know who is john skeet nerd | ||
|
capricciosa |
Yeah i dont have any problems at all with Fallout 76 | ||
|
10bag |
so disregard jon skeet (author of c# in depth and programmer at google) and trust mystik soda | ||
|
mystiksoda |
many things including regex have recieved QOL and performance boosts | ||
|
mystiksoda |
yes of course | ||
|
10bag |
c# has changed much? | ||
|
mystiksoda |
cool an answer from 2009 | ||
|
10bag |
with some kerbal every 3 or 4 years | ||
|
10bag |
@tariq_smells he's the racist company of heroes player and self righteous unused phd highly qualified programmer | ||
|
capricciosa |
Fallout 76 also | ||
|
10bag |
4Head | ||
|
tariq_smells |
wait i follow you from before but don't recognize you did u stream something else beofre |