New answers tagged

2 votes

Tips for golfing in sed

use the e flag on s for simplifying things your output may depend on which shell sed is using. I'll only include things that work on TIO at time of writing. I know there are lots of decimal to unary ...
guest4308's user avatar
  • 467
2 votes

Tips for golfing in VBA

Implicit type convertion - Double to Integer This trick can spare you the rounding step if you have a floating point number and you need an integer index. Consider you have an array ...
int 21h -- Glory to Ukraine --'s user avatar
0 votes

Tips for golfing in Python

A common pattern is to use list(map(lambda c: c.func(), iterable)). This can be shortened to ...
TheUltimateGuide's user avatar
0 votes

Tips for golfing in Wren

In most cases true can be written 1 and false can be written ...
olleicua's user avatar
  • 101

Top 50 recent answers are included