At what point is version control needed?

A small group of programmers have hacked together a system to save work. Stack Exchange This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites. Stephen Collings asks: I work in embedded systems. Right now, my organization ...

Should you always pass just the bare minimum data into a function?

A look at two ways to the get a similar result—but one way is superior. Stack Exchange This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites. Anders Holmström asks: Let’s say I have a function IsAdmin that checks ...

Devtools Console, from Novice to Ninja

The JavaScript console is a powerful tool that allows developers debug their code using functions provided by the Console API and a shell prompt where they can enter commands and interact with the document object.   JavaScript Console   Filters There are different buttons allowing you to filter the display of messages logged to the console: All ...

Ask Stack: Are fewer lines of code better?

Stack Exchange discusses measuring developer efficiency. This Q&A is part of a biweekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 80+ Q&A sites. Mike Bryant asks: Which of these programming styles is better? var result = methodOne(methodTwo(a, methodThree(b)), c, d); or var result3 = ...

Are there reasons for returning exception objects instead of throwing them?

There are a few situations where not throwing an exception is appropriate. Stack Exchange This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites. stakx asked: This question is intended to apply to any OO programming language ...

On using pen and paper to formulate algorithms

A student works better coding in ink. Is that sustainable? Stack Exchange This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites. ComicStix asked: I’m a freshman Computer Science student and we just started doing some actual ...

Is it poor programming practice to pass parameters as objects?

Are you making code more maintainable? Or just covering up poorly defined methods? Stack Exchange This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites. Risser asked: So, we’ve got a guy who likes to write methods ...

Git is good for devs, but here are 5 tips on making the transition

  photo: extradeda SUMMARY:Adopting next-generation software development technology can be yield benefits, if you can just get everyone over the hump of a new system. This post tells you how. Adopting the the collaborative git platform, reduces many of the pains of software development, and ultimately gives your team a competitive advantage. Companies and organizations ranging from the ...

How easy is it to hack JavaScript in a browser?

Breaking down the possibilities of breaking in. Stack Exchange This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites. Jesus Rodriguez asks: My question has to do with JavaScript security. Imagine an auth system where you’re using ...

Nginx for Developers: An Introduction

If you are a web developer, you’ve probably heard of nginx (pronounced engine-x). Nginx is a fast and extremely powerful http and reverse proxy server that can be used to quickly and easily serve webpages. Unfortunately, like many sysops tools, there is very little documentation and very few tutorials that explain how it works and how to ...