XCoin Streamer - [xcomreborn]


ChatLog

First Previous 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 Next Last

user name message /\

10bag

can you explain your take on this regex again

mystiksoda

oh yeah u can do it that way as well

mystiksoda

default*

mystiksoda

oh u meant the dafault vaule in the parameter?

mystiksoda

i missed nothing

mystiksoda

no

mystiksoda

public TwitchUser () { Username = \"somename\"; Id = 1234; ... etc}

mystiksoda

something along the lines of

mystiksoda

yes u can make a default constructor

mystiksoda

oh u mean constructor

mystiksoda

yes

capricciosa

okay

mystiksoda

users.FirstOrDefault (u => u.Username == user.Username)

mystiksoda

ok then its simple

mystiksoda

does your TwitchUser class have any unique property that identifies that user ?

mystiksoda

ok

mystiksoda

is that what u want?

mystiksoda

users.Find (u => u == user)

10bag

man was there troubleshooting pleb users python installations and wondering why nothing worked

10bag

that was a funny couple of months

10bag

never forget when xcom told me you cannot distribute a python application

mystiksoda

Kappa

mystiksoda

i'll bash his head instead, thats fun

10bag

it's trolling up until the point you realise i'm right and then quietly start doing exactly what i said in the first place 4Head

edgewalker69

The local village idiot, dont worry about him SeemsGood

mystiksoda

you understand 0 of programming whatsoever

10bag

that's the spirit

mystiksoda

ok i give up

mystiksoda

???

10bag

bro i'm saying sacrifice performance for readability, it is string manipulation and you won't live forever but you will have to come and un-fuck this code later

First Previous 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 Next Last