Tutorial by Topics: es

This section provides an overview of what solid-principles is, and why a developer might want to use it. It should also mention any large subjects within solid-principles, and link out to the related topics. Since the Documentation for solid-principles is new, you may need to create initial ver...
The null coalescing operator (??) has been added as syntactic sugar for the common case of needing to use a ternary in conjunction with isset(). It returns its first operand if it exists and is not NULL; otherwise it returns its second operand.
The spaceship operator is used for comparing two expressions. For example, $a <=> $b returns -1, 0 or 1 when $a is respectively less than, equal to, or greater than $b. Comparisons are performed according to PHP's usual type comparison rules.
There should never be more than one reason for change anything in software entities (class, function, file etc). A class, function, file etc should have only one reason to change. Just because you can, doesn't mean you should.
The principle states that no client should be forced to depend on methods that it doesn't use. A client should never be forced to implement an interface that it doesn't use or client shouldn't be forced to depend on methods that they don't use.
This document introduces the basics of regular expressions as used in R. For more information about R's regular expression syntax, see ?regex. For a comprehensive list of regular expression operators, see this ICU guide on regular expressions.
This shows the proper usage of images and how to correctly display images.
In OpenCV, one can draw numerous shapes such as point, line, circle, ..., etc. There is an optional for filling a shape. The following code is self-explanatory which shows how shapes are drawn.
This topic is about working with tables in VBA, and assumes knowledge of Excel Tables. In VBA, or rather the Excel Object Model, tables are known as ListObjects. The most frequently used properties of a ListObject are ListRow(s), ListColumn(s), DataBodyRange, Range and HeaderRowRange.
The workspace is a programmatic representation of the C# hierarchy that consists of a solution, child projects and child documents. Currently there is no MSBuild workspace that supports a .NET Standard compliant projects. For more information see here.
This example shows how to create a basic express app and then serve AngularJS.
Select never work in Bootstrap Modal follow given steps to use select2 in Bootstrap Model.
Structural design patterns are patterns that describe how objects and classes can be combined and form a large structure and that ease design by identifying a simple way to realize relationships between entities. There are seven structural patterns described. They are as follows: Adapter, Bridge, Co...
Since Mockito 2.x we have the ability to mock final classes and methods.
It is sometimes useful to get the maven properties, such as the current version, in code. Here are some ways to to it.
I'd like to describe the prerequisites and the steps how to build the Perl CPAN module sapnwrfc with the Strawberry Perl environment under Windows 7 x64. It should work also for all later Windows versions like 8, 8.1 and 10. I use Strawberry Perl 5.24.1.1 64 bit but it should also work with older v...
A goroutine is a lightweight thread managed by the Go runtime. go f(x, y, z) starts a new goroutine running f(x, y, z) The evaluation of f, x, y, and z happens in the current goroutine and the execution of f happens in the new goroutine. Goroutines run in the same address space, so access to sh...
When dealing with objects in an MVC app, if any object should be shown in multiple places with the same format, we'd need some kind of standardized layout. ASP.NET MVC has made this kind of standardization easy to do with the inclusion of display and editor templates. In short, display and editor te...
First we need to know what a MessageBox is... The MessageBox control displays a message with specified text, and can be customised by specifying a custom image, title and button sets (These button sets allow the user to choose more than a basic yes/no answer). By creating our own MessageBox we can...

Page 85 of 96