On Github dbackeus / overcoming-fud-presentation
@dbackeus
github.com/dbackeus
Or how gaining confidence changed the way I code.
FUD = Fear Uncertainty Doubt"person".capitalize.pluralize # "People"
2.days.ago.beginning_of_day # Sun, 31 May 2015 00:00:00
5.times { puts "Hello" } # for(var i=0; i<5; i++) { console.log("Hello") }
[1, 9, 32].sum # 42
ember_type = "text-module" ember_type.classify # "TextModule" ember_type.classify.constantize # TextModule ember_type.classify.constantize.new # TextModule instance
The return of the jedi
Show code difference...And knocking down the barriers can be really hard.
Ruby and Javascript are fairly similar But the community leaders are extremely differentI have been until now a fervent disciple of compositing a graphic instance into a class in every case, rather than making my class extend MovieClip...
But lately my devotion has been shaken and now I am seriously considering extending MovieClip when making any class which has a visual component. Whereas before I would always compose in a MovieClip instance, almost never make my class inherit from anything but my own superclass, and implement interfaces for polymorphism, now I think I will extend, although still implement interfaces for the usual other reasons. I also still plan to be a composition devotee in all other ways - I like composition more than inheritance...
The empire strikes back
clearMenus() !isActive && $parent.toggleClass('open')
FUD is not about whether we write semicolons or not.
It's about whether we write code out of conditioning or express it in freedom through our innate creative force.
Community "gurus" are responsible for killing or inspiring creativity.
Let's strive to be nice, patient, accepting and encouraging.
And if someone is trying to bring you down...
Be a Jedi!
Why's Poignant guide to Ruby: http://mislav.uniqpath.com/poignant-guide/
PR with Crockford bugfix refusal: https://github.com/twbs/bootstrap/issues/3057
Matz is nice so we are nice: http://blog.emmacodes.com/post/55841830917/minswan
JSHint asi option: http://jshint.com/docs/options/#asi
Semicolons technical overview: http://inimino.org/~inimino/blog/javascript_semicolons
Open letter to JS leaders: http://blog.izs.me/post/2353458699/an-open-letter-to-javascript-leaders-regarding
Confessions to a guru: http://www.moock.org/blog/archives/000248.html
Semicolon walkthrough in Babel: http://goo.gl/qjYEJ7