| time \/ | user name | message | ||
| Mar 28, 2022 16:38:13 |
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 | ||
| Mar 28, 2022 16:38:31 |
ishootmedics |
a mutating function i mean | ||
| Mar 28, 2022 16:40:28 |
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 | ||
| Mar 28, 2022 16:40:36 |
ishootmedics |
but it depends a lot on the language/ecosystem | ||
| Mar 28, 2022 16:42:17 |
ishootmedics |
don't you have async/await for I/O ? having a response = await something() , is much more intuitive | ||
| Mar 28, 2022 16:43:57 |
ishootmedics |
because commonly await yields something, so you expect to get a returned value. But dont listen to me, i'm bad at C# | ||
| Mar 28, 2022 16:44:02 |
ishootmedics |
sorry for messing around :P | ||
| Mar 28, 2022 16:46:18 |
ishootmedics |
ok cool | ||
| Mar 28, 2022 16:47:21 |
ishootmedics |
hmm not really tbh, i am just not used to having async functions looking like a code-blocking function | ||
| Mar 28, 2022 16:47:38 |
ishootmedics |
but javascript works differently, C# is multi-threaded and is blocking | ||
| Mar 28, 2022 17:00:12 |
xcomreborn |
!substitute cock beep | ||
| Mar 28, 2022 17:00:12 |
cohopponentbot |
cock will be substituted with beep in text to speech. | ||
| Mar 28, 2022 17:00:20 |
xcomreborn |
I think you are a cock | ||
| Mar 28, 2022 17:02:08 |
7plyordie |
8===d hello | ||
| Mar 28, 2022 17:02:39 |
7plyordie |
yer i saw that | ||
| Mar 28, 2022 17:06:49 |
xcomreborn |
!regex (?i)8=*D penis | ||
| Mar 28, 2022 17:06:49 |
cohopponentbot |
(?i)8=*D regex pattern will be substituted with penis in text to speech. | ||
| Mar 28, 2022 17:06:54 |
xcomreborn |
8============d | ||
| Mar 28, 2022 17:07:02 |
xcomreborn |
8====D | ||
| Mar 28, 2022 17:07:19 |
xcomreborn |
!removeregex 8=*D | ||
| Mar 28, 2022 17:07:20 |
cohopponentbot |
8=*D pattern has been removed from the word regex substitution list. | ||
| Mar 28, 2022 17:07:26 |
xcomreborn |
8=========D | ||
| Mar 28, 2022 17:07:31 |
xcomreborn |
8-----D | ||
| Mar 28, 2022 17:07:39 |
xcomreborn |
8=d | ||
| Mar 28, 2022 17:08:40 |
xcomreborn |
!closetts | ||
| Mar 28, 2022 17:08:41 |
cohopponentbot |
Closing TTS Bot. | ||
| Mar 28, 2022 17:08:47 |
7plyordie |
im off to play some shitty coh | ||
| Mar 28, 2022 17:08:52 |
7plyordie |
lateres | ||
| Mar 28, 2022 17:10:08 |
cohopponentbot |
Xcomreborn's TTSBot Has Connected to This Channel! | ||
| Mar 28, 2022 17:10:12 |
xcomreborn |
testings |