Tutorial by Topics: o

List comprehensions in Python are concise, syntactic constructs. They can be utilized to generate lists from other lists by applying functions to each element in the list. The following section explains and demonstrates the use of these expressions. [x + 1 for x in (1, 2, 3)] # list comprehen...
Go is an open-source, compiled, statically typed language in the tradition of Algol and C. It boasts features such as garbage collection, limited structural typing, memory safety features, and easy-to-use CSP-style concurrent programming. The latest major version release is in bold below. Full...
VersionRelease Date1.01983-01-012.02007-10-27Modern2014-03-10
Django advertises itself as "the web framework for perfectionists with deadlines" and "Django makes it easier to build better Web apps more quickly and with less code". It can be seen as an MVC architecture. At it's core it has: a lightweight and standalone web server for de...
PHP's functional programming relies on functions. Functions in PHP provide organized, reusable code to perform a set of actions. Functions simplify the coding process, prevent redundant logic, and make code easier to follow. This topic describes the declaration and utilization of functions, argument...
When using boolean coercion, the following values are considered "falsy": false 0 "" (empty string) null undefined NaN (not a number, e.g. 0/0) document.all¹ (browser context) Everything else is considered "truthy". ¹ willful violation of the ECMAScript ...
Conditional expressions, involving keywords such as if and else, provide JavaScript programs with the ability to perform different actions depending on a Boolean condition: true or false. This section covers the use of JavaScript conditionals, Boolean logic, and ternary statements. if (conditi...
NSJSONSerialization.JSONObjectWithData(jsonData, options: NSJSONReadingOptions) // Returns an Object from jsonData. This method throws on failure. NSJSONSerialization.dataWithJSONObject(jsonObject, options: NSJSONWritingOptions) // Returns NSData from a JSON object. Pass in NSJSONWritingOptions....
Ruby on Rails (RoR), or Rails, is an open-source popular web application framework. Rails uses Ruby, HTML, CSS, and JavaScript to create a web application that runs on a web server. Rails uses the model-view-controller (MVC) pattern and provides a fullstack of libraries from the database all t...
for (initialization; condition; final_expression) { } for (key in object) { } for (variable of iterable) { } while (condition) { } do { } while (condition) for each (variable in object) { } // ECMAScript for XML Loops in JavaScript typically help solve problems which involve repeating ...
Functions in Python provide organized, reusable and modular code to perform a set of specific actions. Functions simplify the coding process, prevent redundant logic, and make the code easier to follow. This topic describes the declaration and utilization of functions in Python. Python has many bui...
Decorator functions are software design patterns. They dynamically alter the functionality of a function, method, or class without having to directly use subclasses or change the source code of the decorated function. When used correctly, decorators can become powerful tools in the development proce...
new Promise( /* executor function: */ function(resolve, reject) { }) promise.then(onFulfilled[, onRejected]) promise.catch(onRejected) Promise.resolve(resolution) Promise.reject(reason) Promise.all(iterable) Promise.race(iterable) Promises are part of the ECMAScript 2015 specificatio...
This is a set of examples highlighting basic usage of SQL Server. VersionRelease DateSQL Server 20162016-06-01SQL Server 20142014-03-18SQL Server 20122011-10-11SQL Server 2008 R22010-04-01SQL Server 20082008-08-06SQL Server 20052005-11-01SQL Server 20002000-11-01
As one of the most basic functions in programming, loops are an important piece to nearly every programming language. Loops enable developers to set certain portions of their code to repeat through a number of loops which are referred to as iterations. This topic covers using multiple types of loops...
random.seed(a=None, version=2) (version is only avaiable for python 3.x) random.getstate() random.setstate(state) random.randint(a, b) random.randrange(stop) random.randrange(start, stop, step=1) random.choice(seq) random.shuffle(x, random=random.random) random.sample(population, k) ...
git log [options] [revision range] [[--] path...] Parameter          Explanation-q, --quietQuiet, suppresses diff output--sourceShows source of commit--use-mailmapUse mail map file (changes user info for committing user)--decorate[=...]Decorate options--L <n,m:file>Show log for specif...
Protocols are a way of specifying how to use an object. They describe a set of properties and methods which a class, structure, or enum should provide, although protocols pose no restrictions on the implementation. A Swift protocol is a collection of requirements that conforming types must imp...

Page 5 of 283