Company of Heroes


ChatLog

First Previous 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 Next Last

user name message /\

10bag

never code for free

10bag

paid conditions

mystiksoda

10bag except you don't code at all

mystiksoda

being lazy is fine as your are lazy under the right situations

10bag

except, my code can be read DatSheffy

10bag

see, we think the same way

mystiksoda

so do i

10bag

i copy my regex straight up bro, no shame

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

mystiksoda

you say that because you never took any time to learn any regex at all

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

capricciosa

Works well

capricciosa

I avoid rejects like 10bag by blocking

10bag

i'd rather understand 20 lines than have to google 1 line

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?

First Previous 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 Next Last