Tutorial by Topics

$variable = 'value'; // Assign general variable $object->property = 'value'; // Assign an object property ClassName::$property = 'value'; // Assign a static class property $array[0] = 'value'; // Assign a value to an index of an array $array[] = 'value'; // Push an item at the end of an ar...
Ruby is a multi-platform open-source, dynamic object-oriented interpreted language, designed to be simplistic and productive. It was created by Yukihiro Matsumoto (Matz) in 1995. According to its creator, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp. It supports multiple progra...
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...
class Foo {} class Foo extends Bar {} class Foo { constructor() {} } class Foo { myMethod() {} } class Foo { get myProperty() {} } class Foo { set myProperty(newValue) {} } class Foo { static myStaticMethod() {} } class Foo { static get myStaticProperty() {} } const Foo = class Foo {}; c...
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...
filter(function, iterable) itertools.ifilter(function, iterable) future_builtins.filter(function, iterable) itertools.ifilterfalse(function, iterable) itertools.filterfalse(function, iterable) ParameterDetailsfunctioncallable that determines the condition or None then use the identity fu...
Swift is an application and systems programming language developed by Apple and distributed as open source. Swift interoperates with Objective-C and Cocoa/Cocoa touch APIs for Apple's macOS, iOS, tvOS, and watchOS operating systems. Swift currently supports macOS and Linux. Community efforts are...
The clz32 method is not supported in Internet Explorer or Safari
An array is a data structure that stores an arbitrary number of values in a single value. An array in PHP is actually an ordered map, where map is a type that associates values to keys. $array = array('Value1', 'Value2', 'Value3'); // Keys default to 0, 1, 2, ..., $array = array('Value1', 'Va...
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...
The 'Hello World' program is a common example that can be simply used to check compiler and library presence. It uses the C++ standard library, with std::cout from <iostream>, and has only one file to compile, minimizing the chance of possible user error during compilation. The process fo...
ParameterDetailsValue to testThe variable that to compare against Supply a case for every possible value of your input. Use a default case to cover remaining input values you don't want to specify. The default case must be the last case. By default Switches in Swift will not continue to check o...
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 ...
The Python List is a general data structure widely used in Python programs. They are found in other languages, often referred to as dynamic arrays. They are both mutable and a sequence data type that allows them to be indexed and sliced. The list can contain different types of objects, including oth...
jQuery is a JavaScript library which simplifies DOM operations, event handling, AJAX, and animations. It also takes care of many browser compatibility issues in underlying DOM and javascript engines. Each version of jQuery can be downloaded from https://code.jquery.com/jquery/ in both compressed ...
C is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations. By design, C provides constructs that map efficiently to typical machine instructions, and ther...
Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages. Most given examples require a working Scala installation. This is the Scala ...
HTML (Hypertext Markup Language) is an XML-compliant system of annotating documents with 'tags'. It is used specifically to create content for web pages and web applications, which can then be shared over a network. Apart from text, the current version of HTML supports many different types of me...

Page 8 of 428