Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
panthomakos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Time to Learn React – Web Guild Week at Strava
(medium.com)
2 points
by
panthomakos
8y ago
|
0 comments
2.
▲
Engineering Interviewing at Strava
(medium.com)
5 points
by
panthomakos
9y ago
|
2 comments
3.
▲
A Brief History of Jams at Strava
(medium.com)
1 points
by
panthomakos
9y ago
|
0 comments
4.
▲
How Strava Merges Code (Butler Merge Queue)
(labs.strava.com)
5 points
by
panthomakos
10y ago
|
0 comments
5.
▲
(Ruby/Rails) Benchmark Your Bundle
(ablogaboutcode.com)
3 points
by
panthomakos
14y ago
|
0 comments
6.
▲
Overwriting Console Output in Ruby
(ablogaboutcode.com)
2 points
by
panthomakos
14y ago
|
0 comments
7.
▲
Rails - Respect the Active Record
(ablogaboutcode.com)
5 points
by
panthomakos
15y ago
|
0 comments
8.
▲
Understanding the Law of Demeter
(ablogaboutcode.com)
1 points
by
panthomakos
15y ago
|
0 comments
9.
▲
Clarifying The Ruby GIL
(ablogaboutcode.com)
2 points
by
panthomakos
15y ago
|
0 comments
10.
▲
A Simple Rails Boot Time Improvement
(ablogaboutcode.com)
3 points
by
panthomakos
15y ago
|
0 comments
11.
▲
The & Operator in Ruby
(ablogaboutcode.com)
1 points
by
panthomakos
15y ago
|
0 comments
12.
▲
Courteous Meta-Programming in Ruby
(ablogaboutcode.com)
2 points
by
panthomakos
15y ago
|
0 comments
13.
▲
Object Oriented Ruby and Rails in the Complex World of Gems
(ablogaboutcode.com)
1 points
by
panthomakos
15y ago
|
0 comments
14.
▲
Using Rails Observers to write Faster Tests and Simpler Models
(ablogaboutcode.com)
1 points
by
panthomakos
15y ago
|
0 comments
15.
▲
Dynamic Rescue Clause in Ruby
(ablogaboutcode.com)
1 points
by
panthomakos
15y ago
|
0 comments
16.
▲
New Version of Sham Ruby Gem
(ablogaboutcode.com)
1 points
by
panthomakos
15y ago
|
0 comments
17.
▲
After_create bug in Rails 3
(ablogaboutcode.com)
5 points
by
panthomakos
15y ago
|
1 comments
18.
▲
by
panthomakos
15y ago
You make a good point and thanks for the performance link. I should have been more clear. The first and third examples are only comprable in the way they create closures - which is equivalent, but they are meant to demonstrate different thi
19.
▲
by
panthomakos
15y ago
Absolutely - the code can be re-factored - but your example doesn't demonstrate that you can used named functions/callbacks within closures to further organize code.
20.
▲
by
panthomakos
15y ago
I think you make good points. The reason I used these simple examples was only for simplicity and to illustrate that named function callbacks can be used within closures rather than littering your global space with function declarations. Mo
21.
▲
by
panthomakos
15y ago
The closures aren't meant to be more performant, they simply allow you to separate your code. It's not fair to compare the unnamed function example with the closure example, since the first doesn't create closures. If it did - which would b
22.
▲
by
panthomakos
15y ago
But this is happening anyways with unnamed functions - they will be defined any time the top level function is called. The difference is really just whether or not you are naming your functions.
23.
▲
Avoiding Nested Callbacks in JavaScript
(ablogaboutcode.com)
15 points
by
panthomakos
15y ago
|
23 comments
24.
▲
A Faster YARD Documentation Server with Guard-Yard
(ablogaboutcode.com)
1 points
by
panthomakos
15y ago
|
0 comments
25.
▲
How Javascript Loading Works – DOMContentLoaded and OnLoad
(ablogaboutcode.com)
3 points
by
panthomakos
15y ago
|
0 comments
26.
▲
Recap and Thoughts on Facebook Deploy/Push Process
(ablogaboutcode.com)
2 points
by
panthomakos
15y ago
|
0 comments
27.
▲
Spork, RSpec, Sham and Caching Classes
(ablogaboutcode.com)
1 points
by
panthomakos
15y ago
|
0 comments
28.
▲
ActiveRecord 3.1 - Mass-Assignment Roles
(ablogaboutcode.com)
16 points
by
panthomakos
15y ago
|
4 comments
29.
▲
Spork Testing Tip - Caching Classes
(ablogaboutcode.com)
1 points
by
panthomakos
15y ago
|
0 comments