Posts

Operator precedence

Operator precedence determines the order in which operators are evaluated. Operators with higher precedence are evaluated first. A common example: 3 + 4 * 5 // returns 23 The multiplication operator (" * ") has higher precedence than the addition operator (" + ") and thus will be evaluated first. Associativity Edit Associativity determines the order in which operators of the same precedence are processed. For example, consider an expression: a OP b OP c Left-associativity (left-to-right) means that it is processed as  (a OP b) OP c , while right-associativity (right-to-left) means it is interpreted as  a OP (b OP c) . Assignment operators are right-associative, so you can write: a = b = 5 ; with the expected result that  a  and  b  get the value 5. This is because the assignment operator returns the value that it assigned. First,  b  is set to 5. Then the  a  is also set to 5, the return value of  b = 5 , aka...

Install Brackets Editor In Ubuntu 14.04 And Linux Mint 17 Via PPA

Image
https://itsfoss.com/install-brackets-ubuntu/ Last updated  July 26, 2015  By  Abhishek Prakash   13 Comments Share 83 Tweet 5 +1 12 Share Reddit SHARES 100 Brackets  is an  open source  editor from Adobe. Brackets is more of a code editor rather than a text editor and it is focused on web designers and front end developers. Brackets is built in and for HTML, CSS and Java Script. In this article, we shall see  how to install Brackets in Ubuntu 14.04 and Linux Mint 17 . Since I am not a web developer, perhaps I may not do justice reviewing Brackets editor. However, if you are interested, you can read a fine review  here . Also,  Brackets is in beta for the moment  and yet to see its first stable result, pretty much like other  open source text editor LimeText . Install Brackets in Ubuntu 14.04 and Linux Mint 17 Brackets has binaries available for Debian based distributions. There is also a PP...