antonpug
Re:Bundle Phobia: find the cost of adding an npm package to your bundle
on Monday December 18, 2017 @01:13PM (#15953770)
Seems to be broken. Keeps spinning.
Re:Stop Commenting Your Code
on Friday December 01, 2017 @03:00PM (#15826836)
How often do you actually read through the code, trying to understand what's happening and you need english language? Once you read an english description - do you still often have to look at the code to understand what is really happening? //complete purchase process - what does that mean? When you look at the method, I see exactly what's being called and with what parameters.
Re:Stop Commenting Your Code
on Friday December 01, 2017 @02:58PM (#15826818)
Documenting business logic works much better via Spec files - if you have BDD test files Given/When/Then format, that'll go a long way in describing functionality, in my opinion.
Re:Stop Commenting Your Code
on Friday December 01, 2017 @02:22PM (#15826495)
There must be an insane amount of cognitive overload when having to parse through 2x the number of lines because every line of code is accompanied by a line of comment.
Re:Stop Commenting Your Code
on Friday December 01, 2017 @02:20PM (#15826475)
Some commenting is okay and necessary. The point is that generally, if you are adding heavy commenting, you can probably refactor the code in such a way that commenting is not necessary. Even in a large codebase.
Re:Stop Commenting Your Code
on Friday December 01, 2017 @02:18PM (#15826456)
It's not hard to understand what this.completePurchaseProcess(paymentInfo) does.
Re:Stop Commenting Your Code
on Friday December 01, 2017 @01:58PM (#15826277)
Sarcasm? Or am I misunderstanding your comment? :) You annotate "every line"?
Re:Stop Commenting Your Code
on Friday December 01, 2017 @01:53PM (#15826210)
Could you be a little bit more constructive? It's okay if you disagree - but I'd be curious to hear your side.
Stop Commenting Your Code
New and Responsive Liberty Mutual Insurance (Design Analysis)
Liberty Mutual's New Responsive Quoting: Design Analysis
Don't have fall foliage where you live? Get fresh, colorful leaves at your door
Fall Foliage at Your Door
Understanding CSS clip-path
Why I cheated on WordPress with SquareSpace and stayed
Re:We tried Slack. And Failed.
on Tuesday June 02, 2015 @12:15PM (#9646879)
Did your team ever just pick it up and adopt it, or did you face challenges?
We tried Slack. And Failed.
Re:Vim's speed is not really the point (2013)
on Monday June 01, 2015 @11:18AM (#9639245)
What would you say is the learning curve? From someone who is used to GUI editors, moving to VIM...how long until you're actually reaping the benefits?
Re:Vim's speed is not really the point (2013)
on Monday June 01, 2015 @11:07AM (#9639113)
As a front end web developer, I am not really sure I understand any "advantages" to VIM or VI, or any command-line based edit for that matter. Sure, they might be great if you're doing scripting, messing around with the back end, or dong DB stuff. But for me, writing day-to-day JS, HTML, CSS code, VIM seems like a very huge burden. It's like trying to unscrew a screw with scissors when you have a screwdriver laying next to you. Why not just use a good, well-rounded editor like Sublime or Atom, or even Eclipse, for that matter..? I often see web developer, dabbling in front end code, doing their coding in VIM. Yuck. Someone explain?
Dojo 1.10 released
Re:Code Keyboards
on Monday March 30, 2015 @11:10AM (#9290018)
This looks very dated. Looks just like an old HP keyboard from 2000. I have yet to find a keyboard better than Apple's.
Re:HTML6 proposal for single-page apps without JavaScript
on Friday March 20, 2015 @09:46AM (#9237644)
+1
Re:HTML6 proposal for single-page apps without JavaScript
on Friday March 20, 2015 @09:38AM (#9237587)
This is why you don't let "Editor-In-Chief" do web development. Sounds to me like someone's too lazy to learn JavaScript. When will people stop trying to make HTML into an all-in-one product? It was built to be simple, to provide markup and that's it. That's the magic behind the troika of HTML-JS-CSS. They all deal with individual, meaningful functions to make a site work. Blending function with markup is just bad coding. Thumbs down.
A plead to Instagram
Re:Disqus cracked – Security flaw reveals users’ e-mail addresses
on Tuesday December 10, 2013 @10:23AM (#6881165)
Nice. Glad I decided against using Disqus for my site.
Re:Eliminating Code Smell with Grunt
on Monday December 02, 2013 @03:14PM (#6836203)
Great article. Grunt is a wonderful tool, despite what some people on here might say.
Re:Dell introduces 28" 4K Ultra HD Monitor for under $1K, shipping ear...
on Monday December 02, 2013 @03:06PM (#6836151)
I foresee a 4K Thunderbolt Display coming our way within the next couple months. I have been wanting to get a new display for a while, so I am holding out for that. If not, I might consider a Dell. It's not unibody and it's not as thin as the newer Thunderbolt displays are going to be though.
Re:Software patent reform just died in the House
on Wednesday November 20, 2013 @12:48PM (#6769586)
Yeah. Well, at least Facebook and Google try to innovate, and are quite successful at doing so. Microsoft, never mind IBM...these are old dying giants who will never budge in the name of innovation.
Re:Software patent reform just died in the House
on Wednesday November 20, 2013 @12:47PM (#6769575)
Why am I not surprised that IBM and "patent reform died" are on the same line?
Relentless.
(deleted)??? no free speech on HN eh?