When I am reading an ebook or website, instead of inefficiently writing all the codes, I can obviously copy and paste the python codes. But about sometimes the format of the python code has a number, ...

I've been following along with the Intro to Android Apps MOOC on Udacity and have been learning a lot about good coding practices just by looking at the sample code from that course. However, today I ...

I am creating a contact form on Dreamweaver Cs6 and I want to add an error message so that if one of the fields, e.g. first name, was not entered and then someone clicked on send, I want it to come up ...

This may be a subjective question (I hope it isn't)... I develop web designs and applications using Visual Studio and usually Bootstrap. When I drag/drop a CSS file into a HTML document, Visual Studio ...

Very close to reverse of this question. I prefer coding with 2-whitespace indentation, but need to have files indented with tabs to align with project convention. What I would like to do is preferably ...

At work I recently wrote a less than operator for a class implemented from a published specification and which has many properties, six of which are used to uniquely identify an instance of the class. ...

As I have read, begin(some_vector) is more standard than some_vector.begin() because of array support... and as I know also, the use of using keyword is not really desirable behavior. However, I also ...

I'm looking for the cleanest way to handle a user permission. It would be used to define if a menu option can be displayed (menu is present in all views) and the access to a page.
So I was wondering ...

I want to make 5 or 6 divs that will contain an image and some static text. However, I want to alternate which side of the div the image is on. So the first div it would be on the left, the next one ...

I have searched similar questions on this site but they dont answer my particular query.
Hey, so I was wondering why would you use:
(function(){a+b;})();
instead of:
a+b;
Its a thing I see used often ...

I want to call a generic function f[X](...), and in my case X happens to be Option[Y]. I try to pass both Some[...] and None where the function expects X, but Scala insists that X be of type Some[Y].
...

This is a fairly high level question.
I have developed many different web scrapers that work in different websites.
I have many different versions of the functions named getName() and getAddress().
...

Is there a rule of thumb or a standard that specifies how to order method arguments?
eg: SaveOrder(DbContext context, Order order)
or SaveOrder(Order order, DbContext context)
I have always ordered ...

I am a Haskell newbie, so I don't know a lot about the coding style. I have a function that chains a lot of random generators. Is this kind of code considered in bad style, wherein I have ~10 lines ...