tag:blogger.com,1999:blog-9100824746800598084.post3138131664450024492..comments2023-04-29T04:38:49.035-07:00Comments on zmxv: Code Golf at GoogleUnknownnoreply@blogger.comBlogger13125tag:blogger.com,1999:blog-9100824746800598084.post-40664128065223617442015-07-22T15:06:05.798-07:002015-07-22T15:06:05.798-07:00Judging by byte size shows arcane skills, but does...Judging by byte size shows arcane skills, but doesn't seem practical. Judging by a combination of readability and efficiency would promote practical skills. Of course, judging readability is not as easy and is more subjective, but at least the participants would be improving skills they might actually use.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-77096015477990611312015-07-21T13:01:43.501-07:002015-07-21T13:01:43.501-07:00Code Golf is really fun and it helps to hack progr...Code Golf is really fun and it helps to hack programming languages, but most of the time the best results are obtained in the same programming languages Ruby/Perl/Python/Bash. Here is the proof (among 4000 code golfers): https://www.codingame.com/leaderboards/global/puzzle/thor-codesizeTomhttps://www.blogger.com/profile/18258351491665138756noreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-26190781895278349792015-07-20T08:16:31.287-07:002015-07-20T08:16:31.287-07:00Here is the properly formatted Haskell solution (t...Here is the properly formatted Haskell solution (three lines)<br /><br />z=zip[2..]<br />f i=drop(i-3).take i<br />g a=[[("0001"++c:"0000")!!mod(read$f i a>>=f j)9|(j,c)<-z r]|(i,r)<-z a]Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-87273809751550873992015-07-20T07:10:38.049-07:002015-07-20T07:10:38.049-07:00Why not PHP?Why not PHP?Michaelhttp://www.eduhub.ionoreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-33050449957241388872015-07-20T06:12:19.564-07:002015-07-20T06:12:19.564-07:00The haskell doesn't appear to compile, or at l...The haskell doesn't appear to compile, or at least, I couldn't figure out how to format it so it would. Yay significant whitespace.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-27569247490004918672015-07-20T06:01:01.419-07:002015-07-20T06:01:01.419-07:00No, that is not valid c++14 code.No, that is not valid c++14 code.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-33581784354771993402015-07-20T00:19:39.122-07:002015-07-20T00:19:39.122-07:00I hope so! That'll be a lot of fun.I hope so! That'll be a lot of fun.Zhttps://www.blogger.com/profile/08133475860661596221noreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-84923725478526403352015-07-20T00:16:04.975-07:002015-07-20T00:16:04.975-07:00Implicit type in range-based for loop is an allowe...Implicit type in range-based for loop is an allowed C++ extension.Zhttps://www.blogger.com/profile/08133475860661596221noreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-63855937537998388222015-07-20T00:04:25.052-07:002015-07-20T00:04:25.052-07:00Wow, memories, in the 80s in Digital Equipment we ...Wow, memories, in the 80s in Digital Equipment we had the battle of the languages, using the game of life, there was even a submission from the cobol team. The was an APL version which was one line. DEC was the Google of its era as the place to work<br />JerryJerryQhttps://www.blogger.com/profile/15677693780819493961noreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-37799176836864572732015-07-20T00:01:33.517-07:002015-07-20T00:01:33.517-07:00Will this be made publicly accessible?Will this be made publicly accessible?Lee Weihttps://www.blogger.com/profile/00974259560073904012noreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-18128259683508741912015-07-19T21:45:14.738-07:002015-07-19T21:45:14.738-07:00I'm trying to run the c++ version, but it won&...I'm trying to run the c++ version, but it won't compile because the loop variables in the range for loops do not have declarations.Bugenoreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-82132345850430592172015-07-19T20:46:03.695-07:002015-07-19T20:46:03.695-07:00Yes, I used a few code golf questions for intervie...Yes, I used a few code golf questions for interviews. Of course I never asked candidates to optimize for code size :)Zhttps://www.blogger.com/profile/08133475860661596221noreply@blogger.comtag:blogger.com,1999:blog-9100824746800598084.post-71888546009287832752015-07-19T20:38:32.206-07:002015-07-19T20:38:32.206-07:00Nice! Can any of this be used for interviewing can...Nice! Can any of this be used for interviewing candidates ?humbledhttps://www.blogger.com/profile/16449602007724039717noreply@blogger.com