text
stringlengths
0
2.35k
[810.76 --> 812.04] are more general
[812.04 --> 812.72] than C++
[812.72 --> 813.50] or in Java.
[814.16 --> 815.14] They can be defined
[815.14 --> 816.94] for any sort of data,
[817.18 --> 818.04] even built-in types
[818.04 --> 818.70] such as plain
[818.70 --> 819.62] and boxed integers,
[819.62 --> 820.58] and they're not
[820.58 --> 821.26] restricted to
[821.26 --> 822.40] classes
[822.40 --> 823.52] slash structs.
[824.36 --> 824.72] Also,
[825.10 --> 826.50] the lack of type hierarchy
[826.50 --> 827.40] makes objects
[827.40 --> 828.08] in Go feel
[828.08 --> 828.90] much more lightweight
[828.90 --> 830.12] than in languages
[830.12 --> 831.14] like C++
[831.14 --> 831.78] or Java.
[832.16 --> 832.40] Well,
[832.44 --> 833.30] I kind of agree.
[834.44 --> 835.18] I mean,
[835.64 --> 836.18] but then,
[836.26 --> 836.48] you know,
[836.56 --> 837.96] I went into the rabbit hole
[837.96 --> 839.02] because what I remembered,
[839.28 --> 840.12] what I remembered,
[840.28 --> 840.54] you know,
[840.60 --> 842.12] from my university
[842.12 --> 843.86] was my professor,
[844.12 --> 845.12] Jeff Rosenstein,
[845.70 --> 846.36] explaining
[846.36 --> 848.16] that object-oriented
[848.16 --> 849.18] is about being able
[849.18 --> 849.94] to send messages
[849.94 --> 850.76] to objects.
[851.28 --> 852.40] And I checked,
[852.58 --> 853.26] played the origin
[853.26 --> 854.14] of the idea
[854.14 --> 855.50] and it appears
[855.50 --> 856.56] to be the case
[856.56 --> 858.18] that that is what
[858.18 --> 861.24] they were going for.
[861.58 --> 862.42] It wasn't so much
[862.42 --> 863.18] about hierarchy.
[863.42 --> 864.60] Hierarchy came in later.
[865.46 --> 865.62] So,
[866.34 --> 867.14] if we go back
[867.14 --> 867.74] to basics,
[867.94 --> 868.40] maybe Go
[868.40 --> 870.20] is fully object-oriented.
[871.08 --> 871.54] And I think
[871.54 --> 872.34] to answer that,
[872.86 --> 873.78] you probably need
[873.78 --> 874.28] to know more
[874.28 --> 874.96] than I do
[874.96 --> 876.80] about language design.
[877.40 --> 878.14] But again,
[878.14 --> 879.46] from practice,
[879.72 --> 881.02] I'm leaning towards yes.
[881.72 --> 882.64] And in the workshop,
[882.96 --> 884.54] we do things
[884.54 --> 885.62] very Java-like.
[886.42 --> 887.42] Exactly the kinds
[887.42 --> 887.82] of things
[887.82 --> 888.38] that you're not
[888.38 --> 889.18] supposed to do
[889.18 --> 889.98] or it's not really
[889.98 --> 890.44] that you're not
[890.44 --> 891.04] supposed to do.
[891.16 --> 892.20] But we really
[892.20 --> 893.18] try to express
[893.18 --> 894.50] the same types
[894.50 --> 895.16] of ideas
[895.16 --> 896.54] that keeping
[896.54 --> 898.82] loyal to,
[898.96 --> 899.32] I guess,
[899.38 --> 900.02] the go-way
[900.02 --> 901.02] of doing things still.
[901.94 --> 902.14] So,
[902.78 --> 902.98] yeah,
[903.10 --> 903.48] I mean,
[903.56 --> 904.18] at the very least,
[904.24 --> 904.64] it's going to be
[904.64 --> 905.16] a lot of fun.
[905.16 --> 907.30] I try to at least
[907.30 --> 908.24] add some value
[908.24 --> 909.42] in that regard.
[909.64 --> 910.42] I give people
[910.42 --> 911.22] a good taste
[911.22 --> 913.18] of how they can
[913.18 --> 913.72] do things
[913.72 --> 914.50] and how they can
[914.50 --> 915.26] get creative.
[915.78 --> 916.58] But I also think
[916.58 --> 917.48] that there is
[917.48 --> 918.40] a lot of room
[918.40 --> 919.00] for people
[919.00 --> 920.20] to decide