RE: Code Golfing Anyone? 08-06-2015, 06:37 AM
#11
| Code Golfing Anyone? filter_list | |
RE: Code Golfing Anyone? 08-06-2015, 06:46 AM
#12
(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? 08-06-2015, 06:50 AM
#13
Oh ok, yea there is a few programming savy members on here you should be able to find a few.
RE: Code Golfing Anyone? 08-06-2015, 11:29 AM
#14
(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? 08-07-2015, 12:27 AM
#15
(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? 08-07-2015, 12:47 AM
#16
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...

![[+]](https://sinister.li/images/modern/collapse_collapsed.png)

