00:17:22  * TheThingjoined
00:58:37  * mezodquit (Remote host closed the connection)
01:23:52  * juliangruberjoined
02:11:35  * zzzquit (Quit: zzz)
02:17:46  * TheThingquit (Remote host closed the connection)
02:18:46  * TheThingjoined
02:23:18  * TheThingquit (Ping timeout: 252 seconds)
03:04:32  * mezodjoined
03:09:06  * mezodquit (Ping timeout: 240 seconds)
07:23:57  * frankdreyjoined
08:02:43  * SuperHansjoined
08:42:45  * Cohedrin_quit (Quit: My Mac has gone to sleep. ZZZzzz…)
08:51:33  * SuperHansquit (Remote host closed the connection)
08:54:38  * SuperHansjoined
08:59:28  * Cohedrinjoined
09:28:57  <ASEV>What are your opinions on types and Koa?
09:29:54  <ASEV>Is TypeScript the solution or should javascript natively support typing in the future?
09:35:51  <danneu>ASEV: dunno i think typescript is moe useful on the client side
09:36:13  <danneu>else you're filling type holes all day on middleware/functions that accept/return `any`
09:36:35  <danneu>definitely not for the faint of heart
09:40:14  <ASEV>My issue is that I want to be sure that data in client request is indeed of certain type
09:41:19  <danneu>ASEV: you could do that with validation, maybe find a decent validation library
09:42:50  <danneu>like validate(clientData, { age: [v.isInt, v.greaterThan(18)], name: [v.isString, v.notEmpty] })
09:43:28  <ASEV>Could I use TypeScript for only that part?
09:43:50  <ASEV>And leave other stuff as is
09:46:07  <ASEV>Or would it make any sense
09:53:06  <danneu>dunno
09:53:24  <danneu>i think using a validation library is probably simpler
09:53:29  <danneu>no build step
09:54:47  <danneu>typescript doesnt do data validation
09:55:57  <danneu>it only looks at your own code. youd still have to transform client data into your own object to prove to the type-checker that it conforms to a type
09:56:29  <danneu>so youd still need some sort of validation/decoder library
10:19:08  * frankdreyquit (Quit: Textual IRC Client: www.textualapp.com)
10:39:03  <ASEV>danneu: thanks for help/comments
10:41:45  * Cohedrinquit (Quit: My Mac has gone to sleep. ZZZzzz…)
10:53:18  * TheThingjoined
10:54:36  * SuperHansquit (Ping timeout: 240 seconds)
10:59:54  * TheThingquit (Remote host closed the connection)
11:51:36  * SuperHansjoined
12:03:36  * SuperHansquit (Ping timeout: 240 seconds)
12:43:06  * mezodjoined
13:48:00  * alnjxnjoined
13:50:20  * alnjxnquit (Read error: Connection reset by peer)
14:50:48  * TehShrikequit (Quit: Leaving.)
15:05:25  * SuperHansjoined
15:28:20  * TehShrikejoined
15:32:55  <TehShrike>ASEV: I've used Joi for duck-typing at specific gate points
15:37:04  * SuperHansquit (Remote host closed the connection)
15:37:41  * SuperHansjoined
15:42:06  * SuperHansquit (Ping timeout: 240 seconds)
16:46:39  * TheThingjoined
18:06:58  * TheThing_joined
18:06:59  * TheThingquit (Read error: Connection reset by peer)
18:19:39  * TheThing_quit (Remote host closed the connection)
18:20:16  * TheThingjoined
18:37:03  * Cohedrinjoined
18:41:02  * Cohedrinquit (Client Quit)
18:41:29  * Cohedrinjoined
18:47:44  * frankdreyjoined
20:42:32  * frankdreyquit (Ping timeout: 255 seconds)
20:45:27  * frankdreyjoined