0x0dea
Re:Quick, Draw
on Wednesday November 16, 2016 @10:07AM (#12967520)
Do you know what year it is?
Vim auto-indents macro blocks just fine, and preprocessing isn't compilation. For your edification, clang-format is amazing: https://youtu.be/JSjoCisIHcM?t=1764
Re:Show HN: VeryAnts: Probabilistic Integer Arithmetic for Ruby
on Tuesday February 23, 2016 @12:06AM (#11156712)
Couldn't find a probabilistic testing library, eh?
Re:Twitter: Years After the Alphabet Acquisition
on Saturday February 13, 2016 @01:12PM (#11094966)
In a similar vein: https://www.destroyallsoftware.com/talks/the-birth-and-death...
Re:A Better Varargs
on Wednesday February 10, 2016 @08:22PM (#11077615)
The magic __COUNTER__ macro supported by some compilers can be used to simulate gensym.
Re:Japanese scientists have created a new type of hologram that you ca...
on Friday January 01, 2016 @09:04PM (#10824599)
Does the body have ways of shutting that down?
Re:Design Patterns in Clojure
on Saturday December 19, 2015 @04:43PM (#10764993)
Re:The Future of the Web Is 100 Years Old
on Monday November 23, 2015 @04:26AM (#10613598)
Re:Improving your code readability with namedtuples
on Saturday October 31, 2015 @01:50PM (#10483430)
Ruby's Struct is pretty nifty.
Person = Struct.new :name, :age
people = [
Person.new('Alice', 42),
Person.new('Bob', 23),
Person.new('Carol', 30)
]
people.sort_by(&:age).map(&:name)
# => ["Bob", "Carol", "Alice"]
Re:What is code?
on Wednesday September 09, 2015 @05:42AM (#10190531)
$ whatis code
code: nothing appropriate.
Re:Brython – A Python 3 implementation for client-side web programming
on Sunday June 28, 2015 @07:58AM (#9793181)
https://www.destroyallsoftware.com/talks/the-birth-and-death... is non-fiction.
Re:Experiments with Ruby and Go
on Sunday June 14, 2015 @04:23PM (#9716199)
"Ruby code can have a syntax error in a conditional..."
No, it can't. If this is something you've seen "many times", would you mind providing an example? Show me a program that Ruby tries to execute without having been able to parse it.