⚔ COMPANY OF HEROES ⚔


ChatLog

First Previous 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 Next Last

time /\ user name message
Mar 26, 2022 17:23:58

10bag

except, my code can be read DatSheffy
Mar 26, 2022 17:23:42

10bag

see, we think the same way
Mar 26, 2022 17:23:21

mystiksoda

so do i
Mar 26, 2022 17:23:14

10bag

i copy my regex straight up bro, no shame
Mar 26, 2022 17:23:10

mystiksoda

also how are you going to learn maths when they start putting a bilion different letters and symbols 1 one equation to the point u don't see much numbers, if any at all
Mar 26, 2022 17:21:49

mystiksoda

you say that because you never took any time to learn any regex at all
Mar 26, 2022 17:19:39

10bag

dropy bro you've spent your entire adult life in twitch chat, you'd have thought you'd learn how to deal with people by now
Mar 26, 2022 17:19:12

capricciosa

Works well
Mar 26, 2022 17:19:07

capricciosa

I avoid rejects like 10bag by blocking
Mar 26, 2022 17:18:52

10bag

i'd rather understand 20 lines than have to google 1 line
Mar 26, 2022 17:18:44

10bag

i dunno, to me readability means i don't have to google to read it
Mar 26, 2022 17:18:42

mystiksoda

but in this case regex is better
Mar 26, 2022 17:18:14

mystiksoda

and yes everyone avoids regex, including me
Mar 26, 2022 17:17:55

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
Mar 26, 2022 17:16:10

10bag

i'm not being obtuse i just personally avoid regex whenever i can because i just can't read it
Mar 26, 2022 17:15:56

mystiksoda

you have no controll whatsoever on what exact parts of the string get replaced or under what conditions
Mar 26, 2022 17:15:33

10bag

or do it in a loop?
Mar 26, 2022 17:15:31

mystiksoda

and even then u stil have issues like @XcomReborn mnetioned
Mar 26, 2022 17:14:53

mystiksoda

because u'd literally be writing something along the lines mystring..replace (\"a\", \"b\").replace(\"c\", \"d\").replace... and so on
Mar 26, 2022 17:13:43

10bag

because c# has somehow changed or because i misunderstand the original problem?
Mar 26, 2022 17:13:36

mystiksoda

and even if string.replace is faster, it is by no means more readable in this situation
Mar 26, 2022 17:13:30

10bag

that SO question isn't applicable?
Mar 26, 2022 17:13:12

mystiksoda

he already explained
Mar 26, 2022 17:12:58

mystiksoda

James*
Mar 26, 2022 17:12:57

10bag

bro i just want to understand the problem at hand
Mar 26, 2022 17:12:29

mystiksoda

if u wanna go down that route do you even know who Jmaes Newton King is?
Mar 26, 2022 17:12:19

10bag

i didn't, i just clicked his name on stack overflow there
Mar 26, 2022 17:12:11

capricciosa

I think you just need to run filecheck
Mar 26, 2022 17:11:54

mystiksoda

i know who is john skeet nerd
Mar 26, 2022 17:11:44

capricciosa

Yeah i dont have any problems at all with Fallout 76

First Previous 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 Next Last