When to (enforce) linting in a software project
I’m heading a new team of developers working on a software project that makes use of continuous integration (circleci) w/ a pretty fleshed out suite of busterjs unit/integration/acceptance tests. Our project is primarily written w/ coffeescript, and I try to make use of coffeescript-linter to ensure everyone working our code base keeps code consistent and as organized as possible.
What is the difference between “Syntax” and “Syntactic Sugar”
In computer science, syntactic sugar is syntax within a programming language that is designed to make things easier to read or to express. It makes the language “sweeter” for humans to use: things can be expressed more clearly, more concisely, or in an alternative style that some may prefer.
Why are semicolons and commas interchanged in for loops?
In many languages (a wide list, from C to JavaScript):
Helper Methods Placement [duplicate]
This question already has answers here: In Java, should private helpers go above or below public methods? [closed] (5 answers) Closed 10 years ago. Here’s a question that’s always bugged me. I’m going to use java as an example because I’ve almost never run into a problem in java where I didn’t need to use […]
foreach over multiple lists at once
Are there any languages that support foreach over multiple lists at once? Something like this:
What Does “The Program Must Process Each Character Before Reading the Next One” Mean?
From the book Think Like a Programmer (emphasis mine)
How do I distinguish between things belonging to the standard library, specific gems, and those that are user-generated in Ruby?
I’m a beginning programmer, that for various reasons is using an existing Ruby codebase to learn to program. My goal is to be able to understand and eventually extend this codebase. However, I find it hard to understand what is a standard library function, a gem function, or a user-created function. Distinguishing between functions may not be the only thing that I need to do, there might be other “thingies” moving around too. The reason for the question is that I want to be able to read the code, and as I go through identify what documentation I need to read in order to understand the code.
What makes Common Lisp “big”? [closed]
Closed 8 years ago.