Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 54071

For questions asking for tips on golfing in a specific language, doing well in certain challenge tag, or improving a particular piece of code.

2 votes

Tips for golfing in dc

When initialising a function macro (we'll use F) that you want to run immediately, use something like dsFx rather than sFlFx. The same works for variables: dsa rather than sala. If you need to do oth …
  • 983
2 votes

Tips for golfing in dc

Just discovered this by accident. Yet another way to generate a zero: _. _ is a signal to dc that the following digits are a negative number. Example: _3 # pushes -3 But what if we don't follow it …
  • 983
6 votes

Tips for golfing in dc

Arrays Although they're a headache for beginners, dc offers arrays. They work like this: value index :a # store `value' in array linked to top of stack `a', with index `index' index ;a # …
  • 983
6 votes

Tips for golfing in dc

If-then-else statements Suppose we want to check the condition a==b (let a and b be stored in their respectively-named registers). edit: [ # Everything is wrapped in one big macro [ …
  • 983
4 votes

Tips for golfing in dc

Length Calculation: Z, X, and z Z pops the ToS and pushes the number of digits (decimal) if it's a number or the number of characters if it's a string. This can be useful for detecting the length of …
  • 983