text
stringlengths
0
1.82k
[601.40 --> 602.46] but they like
[602.46 --> 603.32] the Go code
[603.32 --> 604.08] to be geometric.
[604.46 --> 605.84] They like a certain way,
[607.56 --> 607.84] you know,
[607.96 --> 608.64] they like the code
[608.64 --> 609.50] to look a certain way
[609.50 --> 610.70] and behave a certain way.
[611.12 --> 612.78] And so I wanted,
[613.36 --> 614.58] I didn't want the generated code
[614.58 --> 615.30] to be an issue,
[615.54 --> 615.82] basically.
[615.90 --> 616.70] I wanted that to be
[616.70 --> 617.32] a non-issue.
[617.44 --> 618.64] I wanted people to look at it
[618.64 --> 619.02] and say,
[619.02 --> 619.54] yeah, okay,
[619.64 --> 620.26] it looks good enough.
[620.54 --> 621.00] I don't have to,
[621.18 --> 621.86] it's not terrible.
[621.86 --> 624.02] And so I definitely
[624.02 --> 625.58] try to put some efforts
[625.58 --> 627.26] to make that
[627.26 --> 628.16] a non-issue
[628.16 --> 629.92] for the adoption
[629.92 --> 630.46] of Goa.
[631.14 --> 631.66] Now,
[631.96 --> 633.24] speaking of the kind of
[633.24 --> 634.74] idiomatic Go
[634.74 --> 635.94] and reception
[635.94 --> 636.76] from the community,
[637.34 --> 638.28] what's the reception
[638.28 --> 639.40] like for the actual
[639.40 --> 640.34] DSL itself?
[640.98 --> 641.80] Because I've seen
[641.80 --> 642.56] the generated code,
[642.86 --> 643.34] which I think
[643.34 --> 644.28] is highly idiomatic.
[645.40 --> 646.64] But I don't know
[646.64 --> 647.76] whether the DSL
[647.76 --> 648.38] is so much.
[648.46 --> 649.58] Do you get a lot of
[649.58 --> 650.54] slack about that
[650.54 --> 651.26] or are people
[651.26 --> 651.78] pretty helpful?
[651.86 --> 652.18] Yeah,
[652.30 --> 653.28] so there's been
[653.28 --> 654.20] a few comments
[654.20 --> 655.20] on the repo
[655.20 --> 655.62] and GitHub
[655.62 --> 656.40] of people
[656.40 --> 658.76] trying to make it
[658.76 --> 660.58] look more like Go,
[660.76 --> 662.22] but then I'm always very,
[663.32 --> 664.38] I kind of have a hard line
[664.38 --> 664.98] saying,
[665.14 --> 665.84] this is not Go.
[665.94 --> 666.60] It's a DSL.
[666.68 --> 667.48] It's a different language.
[667.64 --> 669.10] It's implemented in Go,
[669.24 --> 670.28] but it's not Go.
[670.76 --> 671.46] So for example,
[671.56 --> 672.44] one thing that you
[672.44 --> 673.68] sort of have to do
[673.68 --> 674.56] when you use DSL
[674.56 --> 675.68] is use dot imports,
[675.94 --> 676.10] right?
[676.12 --> 676.72] And a lot of people
[676.72 --> 677.58] don't like that.
[677.94 --> 678.68] And I agree.
[678.68 --> 679.42] I don't think
[679.42 --> 680.00] that the ports are good
[680.00 --> 680.34] either.
[680.76 --> 681.64] I think if you're at Google,
[681.80 --> 682.46] you shouldn't use them
[682.46 --> 683.14] and nothing else
[683.14 --> 684.28] in Go uses that.
[684.52 --> 686.12] But for the purpose
[686.12 --> 686.68] of using,
[687.08 --> 687.80] of implementing
[687.80 --> 688.64] the DSL,
[689.12 --> 690.08] that ends up being,
[690.58 --> 692.30] making the whole thing
[692.30 --> 693.08] a lot nicer,
[693.36 --> 694.58] feel a lot more natural.
[695.46 --> 695.96] And so,
[696.42 --> 697.90] there is a little bit
[697.90 --> 699.04] of that pushback,
[699.16 --> 700.24] but then my response
[700.24 --> 700.52] is,
[700.68 --> 700.86] well,
[701.24 --> 702.08] this is not Go.
[702.08 --> 703.46] And I'm not trying
[703.46 --> 705.46] for DSL
[705.46 --> 706.44] to be idiomatic Go
[706.44 --> 707.22] because it's not Go
[707.22 --> 707.88] in the first place.
[709.38 --> 710.86] And if you think about it,
[711.04 --> 711.24] you know,
[711.30 --> 713.00] some of the target outputs