TIOBE Software: Tiobe Index. TIOBE Index for January 2016 January Headline: Java is TIOBE's Programming Language of 2015! Java has won the TIOBE Index programming language award of the year. This is because Java has the largest increase in popularity in one year time (+5.94%).
Java leaves runner ups Visual Basic.NET (+1.51%) and Python (+1.24%) far behind. At first sight, it might seem surprising that an old language like Java wins this award. Especially if you take into consideration that Java won the same award exactly 10 years ago. Java's rise goes hand in hand with Objective-C's decline (-5.88%). So what is the outlook for 2016? The TIOBE Programming Community index is an indicator of the popularity of programming languages. The index can be used to check whether your programming skills are still up to date or to make a strategic decision about what programming language should be adopted when starting to build a new software system.
TIOBE Programming Community IndexSource: www.tiobe.com Java Python JavaScript Ruby. Threading in C# - Part 4 - Advanced Threading. Threading in C# Joseph Albahari Last updated: 2011-4-27 Translations: Chinese | Czech | Persian | Russian | Japanese Download PDF Part 4: Advanced Threading Earlier, we said that the need for synchronization arises even in the simple case of assigning or incrementing a field. Writing nonblocking or lock-free multithreaded code properly is tricky! The nonblocking approaches also work across multiple processes.
Memory Barriers and Volatility Consider the following example: class Foo{ int _answer; bool _complete; void A() { _answer = 123; _complete = true; } void B() { if (_complete) Console.WriteLine (_answer); }} If methods A and B ran concurrently on different threads, might it be possible for B to write “0”? The compiler, CLR, or CPU may reorder your program's instructions to improve efficiency. C# and the runtime are very careful to ensure that such optimizations don’t break ordinary single-threaded code — or multithreaded code that makes proper use of locks. Full fences Interlocked. SQL Tutorial - Union. SQL UNION combines two separate SQL queries into one result set. A JOIN statement adds additional table columns to a result set (horizontally), UNION combines row results from one table with rows of another table (vertically). In order to perform a UNION the columns of table 1 must match those of table 2. This rule ensures that the result set is consistent as rows are fetched by SQL.
For these next exercises we suggest creating two different tables that are identical in structure but contain unique rows of data. SQL Select Union Code: USE mydatabase; SELECT * FROM employees UNION SELECT * FROM employees2; SQL Table: The result is a complete listing of every employee from the two tables, perhaps representing a list of employees from two different departments.
The next example shows a more practical means of using a union clause. SQL Code: Here we combined a join query with the union clause to create one table. UNION ALL selects all rows from each table and combines them into a single table. Www.objectmentor.com/resources/articles/Naming.pdf. Design Patterns | Object Oriented Design. C# Coding Style Guide. Version 0.3 by Mike Krüger icsharpcode.net This document may be read as a guide to writing robust and reliable programs. It focuses on programs written in C#, but many of the rules and principles are useful even if you write in another programming language. 2.1 C# Sourcefiles Keep your classes/files short, don't exceed 2000 LOC, divide your code up, make structures clearer. 2.2 Directory Layout Create a directory for every namespace. 3.1 Wrapping Lines When an expression will not fit on a single line, break it up according to these general principles:
How do you convert a string into an enum? - Tim Sneath.