Sinisterly
Code Golfing Anyone? - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Code Golfing Anyone? (/Thread-Code-Golfing-Anyone)

Pages: 1 2


RE: Code Golfing Anyone? - User_mybb_import14239 - 08-06-2015

(08-06-2015, 06:36 AM)Dijkstra Wrote:
(08-06-2015, 06:33 AM)User Wrote: Seems like a pretty cool game idea!

I'm assuming you would like to participate then?

I will pass for now I'm about to head off to bed, but thank you!


RE: Code Golfing Anyone? - Dijkstra - 08-06-2015

(08-06-2015, 06:37 AM)User Wrote:
(08-06-2015, 06:36 AM)Dijkstra Wrote:
(08-06-2015, 06:33 AM)User Wrote: Seems like a pretty cool game idea!

I'm assuming you would like to participate then?

I will pass for now I'm about to head off to bed, but thank you!

Well the competition isn't right now. I'm asking to see if there are enough people to do this.


RE: Code Golfing Anyone? - User_mybb_import14239 - 08-06-2015

Oh ok, yea there is a few programming savy members on here you should be able to find a few.


RE: Code Golfing Anyone? - Google_mybb_import13542 - 08-06-2015

(08-06-2015, 03:32 AM)Dijkstra Wrote: Code golfing is a competition where programmers compete to answer a question but with the least amount of characters possible.

An example would be, check if a word is the palindrome of another. You could then do something like

if x == y[::-1]: print('yes')

But you could reduce this to

print(x == y[::-1])

Clearly the second line has won.

(08-06-2015, 03:19 AM)Oxyrus Wrote: Golfing? like golf or what?

Well the point of golfing is to get the least amount of hits for the ball to get in a hole. Right? :p

I have seen coding competitions, but not golfing.


RE: Code Golfing Anyone? - Dijkstra - 08-07-2015

(08-06-2015, 11:29 AM)Google Wrote:
(08-06-2015, 03:32 AM)Dijkstra Wrote: Code golfing is a competition where programmers compete to answer a question but with the least amount of characters possible.

An example would be, check if a word is the palindrome of another. You could then do something like

if x == y[::-1]: print('yes')

But you could reduce this to

print(x == y[::-1])

Clearly the second line has won.

(08-06-2015, 03:19 AM)Oxyrus Wrote: Golfing? like golf or what?

Well the point of golfing is to get the least amount of hits for the ball to get in a hole. Right? :p

I have seen coding competitions, but not golfing.

Guess you haven't seen to many competitions then. :p


RE: Code Golfing Anyone? - Oxyrus - 08-07-2015

Problem is that not everybody here codes in the same language, some do in PHP, others in JavaScript, others C/C++, Java and so on...


RE: Code Golfing Anyone? - $ninja - 08-25-2015

Any updates on this?


RE: Code Golfing Anyone? - Dijkstra - 09-03-2015

(08-25-2015, 01:29 AM)$ninja Wrote: Any updates on this?

No, we need at least 3 people to do this. lol

If people could start sending me private messages if you want to join, that'd be great. Smile