<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>If &amp; Else - Latest Comments</title><link>http://ifandelse.disqus.com/</link><description></description><atom:link href="https://ifandelse.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 06 Jan 2018 16:09:13 -0000</lastBuildDate><item><title>Re: It's Not Hard: Making Your Library Support AMD and CommonJS</title><link>http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/#comment-3695164175</link><description>&lt;p&gt;I tried to use this but it was too hard.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Burnette</dc:creator><pubDate>Sat, 06 Jan 2018 16:09:13 -0000</pubDate></item><item><title>Re: It's Not Hard: Making Your Library Support AMD and CommonJS</title><link>http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/#comment-3318395057</link><description>&lt;p&gt;Thanks for explaining this so clearly; great teaching&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">..</dc:creator><pubDate>Mon, 22 May 2017 01:55:17 -0000</pubDate></item><item><title>Re: It's Not Hard: Making Your Library Support AMD and CommonJS</title><link>http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/#comment-3304673724</link><description>&lt;p&gt;Definitely the best read on this topic. Greatly helped me in understanding the design behind creating your own libraries.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">div</dc:creator><pubDate>Sat, 13 May 2017 23:23:00 -0000</pubDate></item><item><title>Re: It's Not Hard: Making Your Library Support AMD and CommonJS</title><link>http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/#comment-3090726195</link><description>&lt;p&gt;yeah, that's what  I have to rearrange with every third-party lib.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">englishextra</dc:creator><pubDate>Mon, 09 Jan 2017 11:16:07 -0000</pubDate></item><item><title>Re: It's Not Hard: Making Your Library Support AMD and CommonJS</title><link>http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/#comment-3090691765</link><description>&lt;p&gt;you can path instead `this`: `typeof window !== 'undefined' ? window : this`&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dima Beznos</dc:creator><pubDate>Mon, 09 Jan 2017 10:54:16 -0000</pubDate></item><item><title>Re: Like My Grandpa, With a Big Lawn</title><link>http://ifandelse.com/like-my-grandpa-with-a-big-lawn/#comment-3036870583</link><description>&lt;p&gt;Thank you! It's an ideal I strive every day to live up to...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Cowart</dc:creator><pubDate>Mon, 05 Dec 2016 16:11:43 -0000</pubDate></item><item><title>Re: Like My Grandpa, With a Big Lawn</title><link>http://ifandelse.com/like-my-grandpa-with-a-big-lawn/#comment-3036219285</link><description>&lt;p&gt;This post made me your Twitter follower. I think you spoke for so many of us (humorous &amp;amp; patient) programmers.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benny Neugebauer</dc:creator><pubDate>Mon, 05 Dec 2016 09:23:56 -0000</pubDate></item><item><title>Re: It's Not Hard: Making Your Library Support AMD and CommonJS</title><link>http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/#comment-2924585133</link><description>&lt;p&gt;&amp;gt; Placing this burden on the build system is completely ignoring the huge number of developers that aren't even using a formal module system like AMD or CJS - either by choice or because they're support legacy code.&lt;/p&gt;&lt;p&gt;I completely agree. Only a few lines and app developers can spend more time developing their apps instead of fixing someone else plugin. I'm constantly returning to James Burke's Gist and using it as a template whenever I decide to "fix" a plugin.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Akos</dc:creator><pubDate>Thu, 29 Sep 2016 07:58:53 -0000</pubDate></item><item><title>Re: It's Not Hard: Making Your Library Support AMD and CommonJS</title><link>http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/#comment-2859979474</link><description>&lt;p&gt;How about babel’s changing ‘this’ to ‘undefined’ trouble?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">englishextra</dc:creator><pubDate>Thu, 25 Aug 2016 21:01:08 -0000</pubDate></item><item><title>Re: Know When to Walk Away</title><link>http://ifandelse.com/know-when-to-walk-away/#comment-2547966728</link><description>&lt;p&gt;Coward of the County?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Terry</dc:creator><pubDate>Wed, 02 Mar 2016 14:36:21 -0000</pubDate></item><item><title>Re: It's Not Hard: Making Your Library Support AMD and CommonJS</title><link>http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/#comment-2523422235</link><description>&lt;p&gt;// CommonJS&lt;br&gt;var postal = require("postal");  &lt;br&gt;// yay, postal is available&lt;br&gt;// AMD&lt;/p&gt;&lt;p&gt;*** define([ "postal", function(postal) {  ***&lt;br&gt;//yay, postal is available&lt;br&gt;});&lt;/p&gt;&lt;p&gt;*** you need a closing ] after ["postal",&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roland Hegedus</dc:creator><pubDate>Fri, 19 Feb 2016 11:15:59 -0000</pubDate></item><item><title>Re: Using ReactJS and KendoUI Together</title><link>http://ifandelse.com/using-reactjs-and-kendoui-together/#comment-2114821974</link><description>&lt;p&gt;Fantastic, lot to learn here.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rippo</dc:creator><pubDate>Fri, 03 Jul 2015 12:43:07 -0000</pubDate></item><item><title>Re: machina v0.3.8 Released</title><link>http://ifandelse.com/machina-v0-3-8-released/#comment-2061519665</link><description>&lt;p&gt;Great piece of work! I have spent the past 1.5 year creating a "core engine" that manages setTimeout, RAF and setImmediate into  something that should be able to deliver the power and stability required to create a (near?) native IOS user experience on Mobile using JavaScript. I am currently rebuilding the core for the I-don't-know-how-many-time-in-a-row. This time I use your state machine to manage all inputs and "calibrate" the engine. Would you be able/willing to spend half an hour on Skype for this? Feel free ignore, I thought I could ask.. cheers!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Erik Schoel</dc:creator><pubDate>Thu, 04 Jun 2015 07:15:08 -0000</pubDate></item><item><title>Re: Using ReactJS and KendoUI Together</title><link>http://ifandelse.com/using-reactjs-and-kendoui-together/#comment-1971415802</link><description>&lt;p&gt;Great work Jim! This was very helpful for me. The similarity to React and WebForms is erie, but having the lifecycle methods makes integrating with third parties possible.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">housecor</dc:creator><pubDate>Thu, 16 Apr 2015 16:44:30 -0000</pubDate></item><item><title>Re: Like My Grandpa, With a Big Lawn</title><link>http://ifandelse.com/like-my-grandpa-with-a-big-lawn/#comment-1906012931</link><description>&lt;p&gt;Really -- blindness, omg!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">netaisllc</dc:creator><pubDate>Fri, 13 Mar 2015 17:58:28 -0000</pubDate></item><item><title>Re: Like My Grandpa, With a Big Lawn</title><link>http://ifandelse.com/like-my-grandpa-with-a-big-lawn/#comment-1906012430</link><description>&lt;p&gt;+1 Mr. C.  So well said.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">netaisllc</dc:creator><pubDate>Fri, 13 Mar 2015 17:58:10 -0000</pubDate></item><item><title>Re: I'm Not Good Enough to Be an Impostor</title><link>http://ifandelse.com/im-not-good-enough-to-be-an-impostor/#comment-1895061669</link><description>&lt;p&gt;Marcus - thanks so much for the reply. I really relate to what you've described. The more time goes on, the more convinced I am that one of the most important skills to cultivate is being able to determine what I don't know...closely followed by who can I Iearn from to fill the gaps. So often it feels like leaving harbor with a vague destination, and hopefully enough supplies! :-) You said it very well: "I think moving towards trying anyway is the way I'd like to more often go." This is the attitude I want to have as well, and the one I want my kids to see me live out as well.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Cowart</dc:creator><pubDate>Sun, 08 Mar 2015 11:55:04 -0000</pubDate></item><item><title>Re: It's Not Hard: Making Your Library Support AMD and CommonJS</title><link>http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/#comment-1758620130</link><description>&lt;p&gt;Thanks for this write up! I was facing this a while back, and while I did see how jQuery did it I pushed back on implementing for the project I was working on then. I've bookmarked this page and I'll try it soon.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcus Stenbeck</dc:creator><pubDate>Thu, 25 Dec 2014 07:15:58 -0000</pubDate></item><item><title>Re: I'm Not Good Enough to Be an Impostor</title><link>http://ifandelse.com/im-not-good-enough-to-be-an-impostor/#comment-1758618230</link><description>&lt;p&gt;This puts into words things that I deal with every day. One major consequence of having to tackle these obstacles has been, for me, to always try to find "the person" who knows what I want to know. At times they exist, and there are great resources available. Other times it takes a while before I'm able to realize that the specific combination of knowledge isn't out there, or at least not in concentrated, easily digestible form. Sometimes I'll tackle the problem anyway, other times I'll wait until the information is available. I think moving towards trying anyway is the way I'd like to more often go.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcus Stenbeck</dc:creator><pubDate>Thu, 25 Dec 2014 07:11:53 -0000</pubDate></item><item><title>Re: It's Not Hard: Making Your Library Support AMD and CommonJS</title><link>http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/#comment-1653106994</link><description>&lt;p&gt;Continuing with the global discussion, I appreciate it when a library that sets a global (which might be clobbering a previous definition) also exports a noConflicts() method that restores the global.  Underscore, Backbone, jQuery and others do this.&lt;/p&gt;&lt;p&gt;I use AMD modules.  When I run unit tests on my code, I first call noConflicts() on these modules to remove them from the global scope and ensure that my code is explicitly requiring them.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stepan Riha</dc:creator><pubDate>Sat, 25 Oct 2014 08:03:35 -0000</pubDate></item><item><title>Re: Using ReactJS and KendoUI Together</title><link>http://ifandelse.com/using-reactjs-and-kendoui-together/#comment-1631975791</link><description>&lt;p&gt;Very helpful.  Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gregmiller</dc:creator><pubDate>Sun, 12 Oct 2014 11:48:55 -0000</pubDate></item><item><title>Re: I'm Not Good Enough to Be an Impostor</title><link>http://ifandelse.com/im-not-good-enough-to-be-an-impostor/#comment-1532394983</link><description>&lt;p&gt;Awesome post&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Derek Kaneshiro</dc:creator><pubDate>Thu, 07 Aug 2014 16:49:02 -0000</pubDate></item><item><title>Re: UMD For Everyone</title><link>http://ifandelse.com/umd-for-everyone/#comment-1503284128</link><description>&lt;p&gt;Not sure how big of an issue the performance impact of polyfills is. In my opinion, as long as it (technically) works in old IE, management should be content. *** I’m all for graceful degradation but it has its limits, it seems. E.g. I suggested using Flexbox layouts and have old IE fall back to a single-column (but still functional) layout, but people tell me that’s not acceptable with their company.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Šime Vidas</dc:creator><pubDate>Fri, 25 Jul 2014 11:02:52 -0000</pubDate></item><item><title>Re: UMD For Everyone</title><link>http://ifandelse.com/umd-for-everyone/#comment-1503261205</link><description>&lt;p&gt;Given the amount of cross-frame work I've done, I'd *love* to see anything &amp;lt; IE9 die a fiery death as soon as possible. :-) Last I checked, IE8's share of avg traffic was 4% or less, so we're on the way, at least. You're right, though - a lot of older browsers could be in the mix if we transpile for their sake.The difficulty would be other APIs that are either hard to polyfill for or the performance hit of the polyfill is too much. Ideally, we could handle those situations by allowing a functional, but degraded, experience in legacy browsers. I've yet to encounter that as the norm with most teams, unfortunately. That's one area I'm planning to do some research in this year to see if we can simplify that process where I work. I will admit, though, that most of my "old browsers need to die" angst is from both working at, and developing products used by, enterprise orgs (where the time-to-upgrade process often exceeds the support lifecycle of dead browsers).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Cowart</dc:creator><pubDate>Fri, 25 Jul 2014 10:45:55 -0000</pubDate></item><item><title>Re: UMD For Everyone</title><link>http://ifandelse.com/umd-for-everyone/#comment-1503221682</link><description>&lt;p&gt;“ We just need old browsers to die.” - Do we? :-) Old IEs and stock Androids are very unlikely to die (fingers crossed for IE Enterprise Mode). As soon as ES6 support is near-complete in Firefox/Chrome, we can start feeding them with ES6 code directly while maintaining a transpiled version for legacy browsers (via build step).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Šime Vidas</dc:creator><pubDate>Fri, 25 Jul 2014 10:16:16 -0000</pubDate></item></channel></rss>