Company of Heroes


ChatLog

First Previous 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 Next Last

user name \/ message

ishootmedics

it's a weird pattern to have a function return a boolean, is all. I mean it's less code, but it's not realy industry-grade

ishootmedics

a mutating function i mean

ishootmedics

hmm you might be right in oop, i've gotten too used to functional. We would name it like \"tryDoSomething\", to convey the fact that it should return something

ishootmedics

but it depends a lot on the language/ecosystem

ishootmedics

don't you have async/await for I/O ? having a response = await something() , is much more intuitive

ishootmedics

because commonly await yields something, so you expect to get a returned value. But dont listen to me, i'm bad at C#

ishootmedics

sorry for messing around :P

ishootmedics

ok cool

ishootmedics

hmm not really tbh, i am just not used to having async functions looking like a code-blocking function

ishootmedics

but javascript works differently, C# is multi-threaded and is blocking

xcomreborn

!substitute cock beep

cohopponentbot

cock will be substituted with beep in text to speech.

xcomreborn

I think you are a cock

7plyordie

8===d hello

7plyordie

yer i saw that

xcomreborn

!regex (?i)8=*D penis

cohopponentbot

(?i)8=*D regex pattern will be substituted with penis in text to speech.

xcomreborn

8============d

xcomreborn

8====D

xcomreborn

!removeregex 8=*D

cohopponentbot

8=*D pattern has been removed from the word regex substitution list.

xcomreborn

8=========D

xcomreborn

8-----D

xcomreborn

8=d

xcomreborn

!closetts

cohopponentbot

Closing TTS Bot.

7plyordie

im off to play some shitty coh

7plyordie

lateres

cohopponentbot

Xcomreborn's TTSBot Has Connected to This Channel!

xcomreborn

testings

First Previous 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 Next Last