Tips for either golfing or programming challenges. In most current cases it is for helpful tips and tricks how one could golf more effectively with a particular language.
0
votes
1answer
90 views
Tips for golfing in Tcl
What general tips do you have for golfing in Tcl? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to Tcl (e.g. "remove comments" is not ...
1
vote
1answer
171 views
Code Golfing in high school computer science club? [closed]
This is not a code golf challenge.
So, at my high school, we're starting a new computer science club, and personally I'd like it to be more than just writing Java stuff (AP Comp Sci curriculum). How ...
6
votes
6answers
200 views
Tips for golfing in Postscript?
As one of the less popular languages, it's difficult to find literature on the avant garde of postscript hackery. So what discoveries have the golfers here made to exploit the stack model (or other ...
2
votes
5answers
306 views
Language idea for golfing purposes
This question is probably not on-topic. If a moderator feels that it should be that way, turn this question into community wiki please.
In order to raise the score of (my) code-golf submissions, I ...
3
votes
4answers
443 views
Tips for golfing in Java
I know I know, not another tips question. But I'm rather surprised that this question hasn't already been posted. At any rate, are there any useful shortcuts that can be used especially in Java?
...
4
votes
2answers
221 views
Tips for golfing in J
GolfScript gets its own way far to often and I feel that a repository of handy hints for golfing J might help in the fight against the evil empire. What tips do you have for making this already terse ...
3
votes
2answers
262 views
PHP Codegolf: Reading/writing files and the CLI
I have been participating in a number of PHP codegolf challenges recently and some of the techniques that are used to read data from a file such as fopen() and fread() or file_get_contents() really ...
5
votes
11answers
480 views
Tips for golfing in <all languages>
The aim of this post is to gather all the golfing tips that can be easily applied to <all languages> rather than a specific one.
Only post answers that its logic can be applied to the majority ...
8
votes
7answers
466 views
Tips for golfing in GolfScript
What, this post doesn't exist yet?
Of course, GolfScript is made for golfing, so you might think that no specific tips are really needed. But to make full use of GolfScript's features, you need to ...
3
votes
11answers
531 views
Tips for golfing in VBA
Similar to this, this, and this question...
What general tips do you have for golfing in VBA? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat ...
7
votes
8answers
551 views
Tips for golfing in Perl?
What general tips do you have for golfing in Perl? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to Perl (e.g. "remove comments" is not ...
7
votes
2answers
236 views
Tips for golfing in R?
I'm looking for tips for golfing in the R statistical language. R is perhaps an unconventional choice for Golf. However, it does certain things very compactly (sequences, randomness, vectors, and ...
3
votes
8answers
256 views
Tips for golfing in Scala
What general tips do you have for golfing in Scala? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to Scala (e.g. "remove comments" is ...
5
votes
5answers
701 views
Tips for golfing in PHP
What general tips do you have for golfing in PHP? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to PHP (e.g. "remove comments" is not ...
2
votes
2answers
234 views
Tips For Golfing In Groovy
As I have seen many questions asking tips for golfing in their interested language, I decided to ask for my favorite language: Groovy. People can give some tips and tricks that will be used in golfing ...
2
votes
1answer
195 views
Tips for golfing in Clojure
What are your tips for code golfing using Clojure?
The aim of this question is to collect a list of techniques that are specific to Clojure and can be used in general code-golfing problems.
11
votes
26answers
3k views
Tips for golfing in JavaScript
What general tips do you have for golfing in JavaScript? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to JavaScript (e.g. "remove ...
19
votes
16answers
2k views
Tips for golfing in C
What general tips do you have for golfing in C? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to C (e.g. "remove comments" is not an ...
8
votes
2answers
463 views
Language Choice
What are some tips for choosing the right language to golf?
What factors affect the language to be chosen?
Here are some example problem types:
Problems that require I/O solution, either console or ...
5
votes
2answers
216 views
What is a good way to deal with tasks that requires arrays using Haskell?
Often a task requires real arrays. Take for instance the task to implement Befunge or ><>. I tried to use the Array module for this, but it's really cumbersome, as it feels like I'm coding much too ...
16
votes
10answers
1k views
Tips for golfing in Ruby
What general tips do you have for golfing in Ruby? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to Ruby (e.g. "remove comments" is not ...
7
votes
4answers
431 views
Freely available books for code golfing?
Can you recommend any freely available books about code golfing in general and especially in Java and C++?
4
votes
12answers
289 views
Tips for golfing in Windows PowerShell
What general tips do you have for golfing in Windows PowerShell? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to PowerShell (e.g. ...
9
votes
14answers
928 views
Tips for code-golfing in C#
What general tips do you have for golfing in C#? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to C# (e.g. "remove comments" is not an ...
9
votes
4answers
841 views
Tips for golfing in C++
What general tips do you have for golfing in C++? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to C++ (e.g. "remove comments" is not ...
29
votes
26answers
4k views
Tips for golfing in Python
What general tips do you have for golfing in Python? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to Python (e.g. "remove comments" is ...