Skip to main content

New answers tagged

0 votes

Tips for golfing in Elixir

You don't need to wrap range in []. 1..10 |> Enum.filter(&rem(&1,2)==0) is shorter than ...
aloisdg's user avatar
  • 2,057
0 votes

Tips for golfing in Elixir

Use && and || instead of and and or ...
aloisdg's user avatar
  • 2,057
1 vote

Tips for golfing in Elixir

Convert boolean to integer with && and || if bool,do:1,else:0 vs boolean &&1||0 source
aloisdg's user avatar
  • 2,057
4 votes

Tips for golfing in Uiua

Handy inverses There are some inverses which may not be entirely obvious but can be very handy for golfing. There is a full list of inverses at this link, here are some of the most useful for golf: <...
noodle person's user avatar

Top 50 recent answers are included