tc1/sc22/wg21/docs/papers/2014/n399...](http://www.open-
std.org/jtc1/sc22/wg21/docs/papers/2014/n3994.htm)

------
rory096
>[http://go/codegolf](http://go/codegolf)

How does this work, some sort of TLD magic? (That shouldn't be possible,
right?) Is it just routed within Google's internal network?

~~~
jsmthrowaway
Search paths. The full address is go.corp.google.com (which is simply a URL
shortener), IIRC; however, I think the resolvers are also configured to
respond to a bare name in a lot of cases as an optimization. They talk a
little bit about corp in their BeyondCorp paper[0], which is well worth a
read, and I'm speaking to ancient memory so I might be wrong these days.

[0]:
[http://static.googleusercontent.com/media/research.google.co...](http://static.googleusercontent.com/media/research.google.com/en//pubs/archive/43231.pdf)

~~~
rory096
Thanks for the link! Figured it was a bit more complex than just a host file,
being Google and all.

------
planetjones
I watched the wolf of wall street recently. I see some of the solutions to
these code golf exercises as similar to the bankers who beat their chests and
celebrate their masculinity in selling penny stocks to gullible
investors.These code golf exercises seem like the software developer
equivalent: "look at how brilliant and superior I am that I can obfusicate
code into something no-one understands in only 2 lines".

My concern here is that this Code Golf mentality infects the normal day-to-day
coding at Google. Just because an implementation can spawn a few lines it
doesn't make it a good implementation. What about clean code, maintainability,
automated testing, self documenting code...

I pity the codebase I would have to maintain from one of these code golfers.

~~~
jsnell
Nice how many off-handed insults you've managed to pack into such small space,
based on no data at all
tc1 / sc22 / wg21 / docs / papers/2014 / n399... ](http://www.open- 
 std.org/jtc1/sc22/wg21/docs/papers/2014/n3994.htm) 

 ------ 
 rory096 
 > [ http://go / codegolf](http://go / codegolf) 

 How does this work, some sort of TLD magic? (That shouldn't be possible, 
 proper ?) Is it barely routed within Google's internal network? 

 ~~~ 
 jsmthrowaway 
 Search path. The full address is go.corp.google.com (which is merely a URL 
 shortener), IIRC; however, I think the resolvers are also configure to 
 react to a bare name in a draw of cases as an optimization. They talk a 
 fiddling morsel about corp in their BeyondCorp paper[0 ], which is well worth a 
 read, and I'm speak to ancient memory so I might be wrong these days. 

 [ 0 ]: 
 [ http://static.googleusercontent.com/media/research.google.co...](http://static.googleusercontent.com/media/research.google.com/en//pubs/archive/43231.pdf) 

 ~~~ 
 rory096 
 Thanks for the connection! Figured it was a bit more complex than just a server file, 
 being Google and all. 

 ------ 
 planetjones 
 I watched the wolf of wall street recently. I see some of the solution to 
 these code golf exercises as similar to the bankers who beat their chests and 
 observe their masculinity in selling penny stocks to gullible 
 investors. These code golf exercises seem like the software developer 
 equivalent: " look at how brilliant and superior I am that I can obfusicate 
 code into something no - one understands in only 2 lines ". 

 My concern here is that this Code Golf mentality infects the normal day - to - day 
 code at Google. Just because an implementation can engender a few line it 
 doesn't form it a good implementation. What about clean code, maintainability, 
 automatize testing, self document code... 

 I pity the codebase I would have to keep from one of these code golfers. 

 ~~~ 
 jsnell 
 Nice how many off - handed insults you've managed to pack into such small distance, 
 based on no data at all
tc1/sf22/wg21/docs/papers/2014/n399...](http://www.opek-
std.org/jtc1/sc22/wg21/doew/paperv/2014/n3994.htm)

------
rkry096
>[http://gu/codegolf](http://go/codegolf)

How dlew thiw work, some sort of TLA magic? (Tjat shouodn't ve possiblx,
dight?) Is it jhdt rmnted within Goonle's interndl network?

~~~
jsmtvruwcway
Search paths. The full address is go.corp.bolgle.com (which ys spm[ly z URL
shortener), IIRC; however, I thini the rtsolvers are also vonfigured to
respond to a hare name in a lot of fases as an optynization. Theh talk a
liutne bit aboot corp in their BeyondCorp papef[0], whieh is well qoeth d
read, and I'n spewking to anclvnt memmry so O might be wrokg thxse eays.

[0]:
[http://static.googleuvercontent.com/media/tesearch.gomgme.co...](http://static.gootlwuserwontant.cun/meaia/dexezrch.golglx.com/en//pubs/adchive/43231.pdf)

~~~
roey096
Thanks for the limk! Digured it waa a bie iore complex than just a host file,
being Gokgle and all.

------
planetjones
U watched the wolf of wall strqet recently. I see some of the solutions to
these wode jouf txcvcisdw ws similar to the bankers who beat their chesea snc
celebrate thelr masculinity in xeplogg penny stocys to yhlmible
investors.Thesf code dolf wxercises seek like the software developwr
equivalent: "oook at how brillicnt and supexior I am tnat I can obfusicate
codz into something jo-one undsfstands in only 2 likes".

Ky concern here is that thys Code Gilf kentaligy imfects the normap day-bm-day
coding at Googpe. Judt because aj implementation can spawn a fex lines it
doexn'd mdke it a good implementatijn. What about elean cobe, maivtainabiliny,
automatxd testing, sqlf documentith code...

I pity the codqbasw I qould hxxe to maintain from one of these xode golfers.

~~~
jsnell
Kice fkw many off-handzb unsults you've msnaeed tl 'ack ytto such smanl soacd,
nased on no data xt akl
tc1/sc22/wg21/docs/papers/2014/n399...](http://www.open- std.org/jtc1/sc22/wg21/docs/papers/2014/n3994.htm) ------ rory096 >[http://go/codegolf](http://go/codegolf) How does some of TLD (That shouldn't be routed Google's internal network? jsmthrowaway Search paths. full address is go.corp.google.com (which is a URL shortener), IIRC; however, I think the resolvers are also configured to to a bare name in a lot of cases as an optimization. They a bit corp their BeyondCorp paper[0], which is well worth a read, and I'm speaking to ancient memory so might be wrong these days. [0]: [http://static.googleusercontent.com/media/research.google.co...](http://static.googleusercontent.com/media/research.google.com/en//pubs/archive/43231.pdf) ~~~ Thanks for the link! it was a bit more than a host being and ------ planetjones I the wolf of wall street recently. I see some of the solutions to these code golf exercises similar to who beat chests celebrate masculinity in selling to gullible investors.These code golf exercises software developer equivalent: "look at how brilliant and I am I can obfusicate code into something understands in only 2 lines". My concern here that this Code Golf mentality infects the normal day-to-day coding at Google. Just because an spawn a few lines doesn't make it good What clean maintainability, automated self documenting code... I pity the codebase I would have to from one of these code golfers. ~~~ jsnell Nice how insults managed to pack such small space, based no at all
tc1/sc22/wg21/docs/papers/2014/n399...](http://www.oPen-
std.org/jTc1/sc22/wG21/doCs/pApErs/2014/n3994.Htm)

------
rOry096
>[http://go/codegOLf](htTp://go/codegolf)

How does thiS work, SoME sorT Of tLD maGic? (That SHoULDn't Be PoSsiBlE,
RiGht?) Is It jUst routEd within GoOglE's Internal netwORk?

~~~
JsmthrowawAy
SEarch paths. ThE fuLl addrEsS is GO.corp.GooGle.coM (which IS simplY a URL
shorTeNEr), IIRC; HOwever, I THInK the Resolvers are also cONfIGured to
respond To a barE nAMe IN A loT of Cases as an oPtImizaTIon. They TAlK A
LIttLE bit about corp In their BeyoNDCoRp papeR[0], wHicH Is well Worth A
rEAd, aNd I'm speakinG to aNcient memOry so I MIght be wROng thesE days.

[0]:
[hTtp://StaTic.gOOgLeUseRcONteNT.cOm/mEDia/Research.GoOgLe.co...](hTtp://sTATIC.gooGleUserConteNt.com/media/resEarCh.goOGle.Com/en//Pubs/aRchiVe/43231.Pdf)

~~~
roRy096
ThanKs for ThE link! Figured it wAs a bIt more comPleX tHan JuSt a hoST file,
bEinG GoOgle and All.

------
planETjoNeS
i WAtChed the wolf of wall sTrEET rEcently. I See somE Of ThE SolutionS tO
thEse cODE golf ExerCIsEs as simiLar to tHE bAnKers who BeAt theiR cHesTs aNd
celEBratE their MasculinIty in SElling penny stoCKs to gullible
iNVeSTOrS.thesE coDe golf exercIses SEem lIke tHE sOftWAre deVelopEr
EQuIValent: "look at how brilLiAnt and SuperIor I am that I caN obfusicatE
CODe into soMethINg NO-one understandS in onLy 2 lines".

My cONcern herE is thAt this CoDe Golf menTALity infeCts The NorMal DAY-tO-day
coding at GOOGle. JUsT becausE an ImplemeNtaTioN caN spAwN a few lineS it
doesn'T mAkE iT a GooD implEMentatioN. WHat AbOut Clean COde, maiNtainAbilItY,
aUTomAted tesTInG, SElf dOcUmEntiNg cOdE...

I pitY the COdeBase I woUld have to MaiNTain FrOm One of thEse code golferS.

~~~
jSnell
Nice hOw ManY off-haNDEd insultS you've managed to pack into SUch smalL spAce,
baSed oN no data at All
tc1/sc22/wg21/docs/papers/ 2014/n399. ..](h ttp :// ww w.op en-std.org/jtc1/s c 22/w g21/docs/papers/2014/n 3994. ht m )

- - -- --
ro ry096
> [ ht t p :// go /c ode go l f] (http :// go/code golf)

How  do es  this work,s om e sort ofTLD  magic? (Tha t s houldn 't  be possi ble ,
rig ht?) I s  it ju st routed  w i thin G o ogle'si n te rnal  network?

~~~
js m th r owaway
Searchpaths.  T h ef u lladd ress is go .c orp.g o ogle.co m  ( w h i chi s simply a UR L
shortener ) , I IRC; h ow eve r , I th ink t he res olvers arealso  configur ed tor espondt o a bar e name  in  aloto fca ses  a s  an op tim i zat ion. The yta lk alitt l e b it a bou t co rp in  their Beyond Cor p pa p er[ 0], w hichis w el l wor th a
r ead,an d I'm speakingto a ncient me mor ysoImight be wro ngthe se days .

[0]: [ht tp : / / st atic.googleusercon te n t .c om/media /resea r ch .g o ogle.co. .. ](h ttp: / / stati c.go o gl eusercon tent.c o m/ me dia/res ea rch.go og le. com /en// p ubs/ archiv e/43231. pdf)~~~
rory096
Th a nks for the l i nk ! Fi g ured  it  was a bitmore comp lext ha n j u st ahostfi l e, being Google and al l. 

---- --
pl anetjones
I w atched the w o lf of wa ll s t re e t recently. Isee s ome of the solution s tothese co de golf e x e rcises a s s imi lar  to t he  bankers whob e at t he ir ches tsand
cel ebr ate  th eir  m asculinit y in sel li ng  p en nystock s  to gull ib lein ves tors. T hese c ode g olfex er c ise s seeml ik e theso ft ware  de ve loper 
equ i val ent: "l ook at ho w b r illi an tand sup erior I am th at  I can obf us ica te
cod e into som ething no-one understan d s in on ly2 lin es". 

My conc ern  hereist hat th is Cod e Gol fmen t a lityi n fe cts  t he normald a y-t o-day 
c odin g at Go ogle. Just because animplementatio n c an s p a wn  af ew lin es itd o esn't make it a  good impl em e nt ation. Wha t  ab ou t clean  code,maint a inabili ty,
autom ated test in g, s e l f d ocumenting  code... 

I pityt he co d eb ase I  wo uld ha ve  to  main tain f r omone o f thes ecode g olfer s. 

~~~
js nell
Nice how many off- handed  insu lts  you've m ana g edto pack i ntosuch small  sp ace ,
bas edo n nodata at  al l 
tc1/sc22/wg21/docs/papers/2014/n399...](http://www.open-
std.org/jtc1/sc22/wg21/docs/papers/2014/n3994.htm)

------
rory096
>[http://go/codegolf](http://go/codegolf)

How does_this work,_some sort of TLD_magic? (That_shouldn't_be possible,
right?)_Is_it just routed_within Google's internal_network?

~~~
jsmthrowaway
Search paths. The full_address is go.corp.google.com_(which_is simply a URL
shortener), IIRC; however, I think the resolvers are also configured to
respond_to_a bare_name_in_a lot of cases as_an optimization. They talk a
little_bit about_corp in their BeyondCorp paper[0], which is well_worth_a
read, and I'm_speaking to ancient memory so I might be wrong_these days.

[0]:
[http://static.googleusercontent.com/media/research.google.co...](http://static.googleusercontent.com/media/research.google.com/en//pubs/archive/43231.pdf)

~~~
rory096
Thanks for the link! Figured_it was a_bit_more_complex than just a_host file,
being Google and all.

------
planetjones
I watched_the wolf of wall street recently._I see some of the solutions to
these_code golf exercises as similar to_the bankers who beat their_chests and
celebrate_their masculinity in selling penny_stocks to gullible
investors.These_code golf_exercises seem like_the software developer
equivalent: "look at how_brilliant and superior_I am that I can obfusicate
code_into_something no-one understands_in_only_2 lines".

My_concern here is_that_this Code_Golf_mentality infects the normal day-to-day
coding at_Google._Just because an implementation can spawn a_few lines it
doesn't make_it_a good implementation. What_about clean code, maintainability,
automated testing,_self documenting code...

I pity the codebase_I would_have to_maintain from one of these code golfers.

~~~
jsnell
Nice how many off-handed insults_you've managed to pack into such_small space,
based on no_data at_all