Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at InVision In Real Life (IRL) 2019 (Phoenix, AZ) with: David Epler
Ben Nadel at InVision In Real Life (IRL) 2019 (Phoenix, AZ) with: David Epler

John Wickee

Member since Jun 1, 2011

Recent Blog Comments By John Wickee

  • After 3 Months Of JavaScript Linting, It's Pretty Much All Pain And No Gain

    Posted on Aug 1, 2017 at 10:21 AM

    I'm on your side with this. I love more static analysis to make better code (which is why I also really enjoy Typescript) but linting to me never made a tone of sense. I understand the arguments for it, mainly because when i do see things stylistically different from mine, I do feel that urge to cha... read more »

  • Using % (Percent) For In-Line Styles In Angular 4.2.3

    Posted on Jun 22, 2017 at 3:07 PM

    You know what, it may be in the documentation, but I hadn't seen it used like that before. That is pretty cool that you can straight up use .% and it works as you would expect it to. There's a lot of little things I feel like they got right the second time around with Angular. And those "little... read more »

  • Exceptions Are For Programmers, Error Responses Are For Users

    Posted on May 14, 2017 at 10:12 AM

    @Ben, Yeah, it's great for that. If you have the error object itself, you have one place to handle that logic: is it something I map, does it have a server error I need to return, or is it something that I can log and pass on? I really like this idea and am going to look into implementing somethi... read more »

  • Exceptions Are For Programmers, Error Responses Are For Users

    Posted on May 11, 2017 at 8:19 AM

    That's a really important part to bring up. As a developer, good exception handling is crucial for building a robust app. This is closely coupled to error messages to a user, because if an exception occurred, you're likely going to need to tell them something, but it is a separate problem to solve. ... read more »

  • Experimenting With Error Sub-Classing Using ES5 And TypeScript 2.1.5

    Posted on Mar 15, 2017 at 9:22 AM

    Yeah. It's one of those things when you want to have an "overall" solution that it gets tricky because you want to make sure you do it right, so you only have to do the bulk once (and then iterate). I'm having similar issues, on a smaller scale. I'm trying to set up a messaging service in... read more »

  • Experimenting With Error Sub-Classing Using ES5 And TypeScript 2.1.5

    Posted on Feb 20, 2017 at 7:43 AM

    This is pretty cool. I was actually just thinking about this the other day, because I was looking at the idea of some app level error handler, where I could have it pop up messages when needed, hide those that dont, log to console when in a debug mode, and send data back to server where needed. Most... read more »

  • Defining Function And Callback Interfaces In TypeScript

    Posted on Feb 7, 2017 at 10:14 AM

    @Ben, I whole heartily agree with that feeling. I really like using it for defining my arguments and the like. When I learned to code in college, my first CS course was in Java, so it I guess feels "familiar" in that point. I had some programming before that, a C++ course in high school a... read more »

  • Creating An Animated Slack-Inspired "Reaction" Emoticon Button In Angular 2.4.4

    Posted on Feb 7, 2017 at 9:03 AM

    @Ben, Yeah. I do love them because done right, they add a lot. Though when they're done poorly, they take away from it. Unfortunately, they're often overdone. It's like the PowerPoint problem of old, there every slide changes a different direction and every piece of text flips, zoom, spins, or sli... read more »

  • Defining Function And Callback Interfaces In TypeScript

    Posted on Feb 6, 2017 at 2:59 PM

    When I first saw about Typescript for Angular 2, I wasn't sold on it. My gut reaction was very hesitant to have to write in something other that JavaScript that then became JavaScript. I didn't GWT or Coffeescript or the like in my Angular world. Then I watched some of the videos from last year's ng... read more »

  • Creating An Animated Slack-Inspired "Reaction" Emoticon Button In Angular 2.4.4

    Posted on Feb 6, 2017 at 10:52 AM

    Animations in Angular is the one area I've never gotten very deep into, even back in all my time in 1.x. I've done some simple things, and applied some through libraries I've used, but never dug into it much myself. Thanks for this post. You may have some snags, but it's a really great view into h... read more »

  • Using BEM (Block Element Modifier) And Emulated View Encapsulation In Angular 2.4.1

    Posted on Feb 1, 2017 at 9:21 AM

    @Ben, Yeah, right now it's more in the realm of an "area I like to play in", testing what I *can* do to see what I *should* do in the future. Especially when working with components, there are ways that feel cleaner to do many of those things (at least at this time). That division of X ... read more »

  • Developer Myth: Work Expands To Fill The Time Available

    Posted on Jan 30, 2017 at 9:24 PM

    @Ben, When starting something big like that, I like the same approach. I usually look at use cases and feature sets and see what I can break into small releasable parts as well, even if in releasing to public it is seen as "all or nothing". When you're in that boat, at least it can work ... read more »

  • Using BEM (Block Element Modifier) And Emulated View Encapsulation In Angular 2.4.1

    Posted on Jan 30, 2017 at 9:15 AM

    @Ben, Oh Bootstrap... it gives some great things, and then other times I scratch my head, or when I'm writing stuff the first thing I wonder is if I'm going to accidentally add one of their classes with a name I want to use (not a global .label mind you, but just other surprises). I don't like CSS... read more »

  • Developer Myth: Work Expands To Fill The Time Available

    Posted on Jan 27, 2017 at 1:36 PM

    So much yes to this. To me, that is a key point in a good leader of a dev team, to understand this concept. Some of the best leads or managers I've worked under were former devs and understood the realities of development. Things are dynamic, and there are so many forces pulling and pushing. I pri... read more »

  • Using BEM (Block Element Modifier) And Emulated View Encapsulation In Angular 2.4.1

    Posted on Jan 26, 2017 at 11:18 AM

    @Ben, I don't really have a formal methodology that I follow. I probably could use a more formal style guide. From doing a quick look at Modular CSS, I feel like I'm somewhere between that and BEM. I love using SASS, but I keep in mind my end CSS. I try to do meaningful names, so that you can tel... read more »

  • Using BEM (Block Element Modifier) And Emulated View Encapsulation In Angular 2.4.1

    Posted on Jan 25, 2017 at 11:55 AM

    This is something I've been a little on the fence about. I initially liked how you could keep simple class names within the component and keep it "safe" to just their, but as I write more complex apps of many components, I fall back to preferring my more meaningful names of classes. As yo... read more »

  • Special $ References In JavaScript's String.replace() Method

    Posted on Jun 1, 2011 at 10:51 AM

    In a sort of proof-of-concept use of $` and $', you could parse with two regular expressions to get the text between two tags. You could run the regular expression for the start tag and get $' for everything to the right (or after). With that result you run the regular expression for the end tag an... read more »