17. Language discussion
To love by understanding, to dislike by ignorance--the preface
In the classroom, the students are discussing the popular programming language in full swing. The colon was pushed into the door and the boiling pot was poured cold water and calmed down immediately.
The colon smiles and looked at everyone: "Why not discuss it?" ”
The Crowd qi way: "It's your!" ”
"The first thing to
First round questions
The fear of the teacher is the fear of the truth--Preface
The crowd looked at each other, after a silence began to whisper, apparently some are not accustomed to this teaching method-The notebook has not written two words, the teacher kicked the ball back.
The colon did not speak, but looked at everyone with a smile.
Or question mark to break the deadlock, began to ask: "Teacher-"
Colon
Then I write it like this: you can execute it without a colon.
Then I write:
It can also be executed without a colon.
Reply content:
Then I write:
It can also be executed without a colon.
There are two methods for executing the query when the PDO pre-processing is bound to a parameter:
One is "question mark placeholder" (from left to right, with one
The double-colon operator is a method reference in Java, and the method references the format of the class Name:: Method name.This is only the method name, and the method name is not followed by the parentheses "()". --------> Such a formula does not necessarily call this method. This is generally used as a lambda expression, and lambda has the so-called lazy load, not parentheses that is, to see how the method is invoked.For example:An expression:Per
for large-scale application development?
• Will the dynamic language eventually replace the static language?
: Explain
Exclamation-Mark impatient to ask: "Now can talk about dynamic language?" ”
Colon speech: "Once upon a time, dynamic language is only to accompany the Prince reading role, when their name is ' scripting language '." Recently, but the rapid rise, as if there is a rival to the static language. ”
The question mark cannot help askin
Slice paradigm
Transverse as the ridge side Chengfeng--"Su Shi-lin-xi wall"
The quote reopened: "OOP is in the ascendant and AOP is starting to emerge again." is AOP a branch of OOP, a complement or a transcendence? ”
Exclamation: "OOP has not fully digested, but also what AOP." ”
"Different people take different attitudes towards new things. "Colon Wang," fans tend to blindly sought after, lest outdated, they believe that the trendy popular is go
25. Software strain
Latent its heart can view the world of the reason, will its heart can change the world--"Lu Kun Moan"
As soon as the seventh lesson opened, the colon asked a question: "If you replace all private keywords in a Java program with public, does the program work?" ”
"It should work, unless--it can't work before." The question mark answered cautiously.
The colon then asks: "So why bother t
The PHP class code often sees the "::" operator, which is scoped to the scope operator, and is represented by a double-colon "::", which is used to pin the levels of different scopes in the class. The left side is the member of the access scope to the right of the scope.
The scopes defined in PHP are self and parent two (a static scope is provided in PHP6).
Self: Represents the scope of the current class, unlike this, which does not represent a parti
In PHP, what are colon, endif, endwhile, and endfor? endwhileendfor. What are colon, endif, endwhile, and endfor in PHP? we often see many strange PHP syntaxes in the templates of wordpress blog programs, such :? In php, what are colon, endif, endwhile, and endfor? endwhileendfor
We often see many strange PHP syntaxes in the templates of wordpress blog programs,
In php, the " quot; :: quot;" double colon affects lazycms: $ sysname. this is the first time you see this expression. what does "double colon" mean? answer: directly belongs to the method or attribute of the class. That is, the use of static methods or attributes. Domain operators are generally used to use the attributes/methods of Class A objects in Class B objects !?? In php, ":" double
Alternative syntax in PHP (colon, endif, endwhile, endfor) we often see many strange PHP syntaxes in the templates of blog programs such as wordpress, such as: lt ;? Php nbsp; if (empty ($ _ GET [a]):? Gt; nbsp; lt; fontcolor quot; red quot; gt; null lt; alternative syntax in PHP (colon, endif, endwhile, endfor)
We often see many strange PHP syntaxes in the templates of blog programs such as word
General paradigm of the third lesson (3)
3.3-Slice paradigm--looking at problems from many angles
Transverse as the ridge side Chengfeng--"Su Shi-lin-xi wall"
Keywords: programming paradigm, Soc,dry,aop,aspect,join Point,pointcut,advice,oop
Summary: A brief talk on AOP
? Questions
What are SOC and dry?
How to effectively avoid disordered, loose, repetitive code?
What are the principles of abstraction and decomposition?
What are crosscutting concerns?
What is the difference between an a
Paradigm Summary
To the essence and then to the good, to change and then pass its number
--"Wen xin carving dragon · shensi"
After the crowd took a seat, the colon began the fourth lecture: "We have been involved in a number of programming paradigm, although only a brief glance, can also be a glimpse." The present form is summarized as follows--"
Programming paradigm
Core Concepts
Program running
Typical applications
Old in front of the eyes, so on the Internet search it, check the information, very depressed online introduction of the colon usage of the post is not much, and relatively fragmented, and not deep enough to read people more confused, toss for two days, finally to the colon (:) has a further understanding, I hope to understand the use of colon to help people.
1,
Problem Description: Sometimes we need to encode a whole URL, but if the whole code is direct, the colon will be encoded;
Example: http://192.168.1.85:8080/files/1\\paper\\2015-06-05\\150602 Polymer website Paper submission Bug-20150605164633294.doc This string, if encoded directly, the HTTP link will be invalidated.
Solution: I think of the solution is to use long text in place of the characters that need to be retained, encoded instead of back;
This tutorial is about how you can intercept a string on both sides of a colon, but not a colon.
Let's look at the table below.
In the table above, the string in column A, which has a colon in a different place, now, what we're going to do is to intercept the character on the left of each cell and the character on the right.
The method is simple, you ca
Teaching Plan
Chu small person can not conceive big, 绠 short person can not draw deep--"Zhuangzi to Le"
After a discussion, the crowd seemed unable to reach a consensus. When the colon was on the way, they were asked to come.
The question mark once again serves as the vanguard: "Can compare some of today mainstream language respective advantage and disadvantage?" ”
The colon smiles: "How did I get back
21. Background script
After the dawn of the song, look at thousands of swords and then know the device--"Wen Xin Diao Dragon · Bosom friend"
"There are four dynamic languages left, which we classify as background scripting languages." The colon says, drawing a chart--
User
Foreground language: Visual basic,delphi,javascript
Platform language: java,c#
Background scripting language: Perl,php,python,ruby
Generic paradigm
The algorithm is ridge, the data is meat; thought is chicken, conclusion is egg--preface
The colon reopened: "You will not often encounter this scenario: over and over again write similar code, the intention to merge it, but for a variety of reasons can not be fulfilled." ”
"Yes, sometimes two functions are almost identical, because some parameters do not match and cannot be merged," said the comma. ”
"There is a programming parad
Basic Paradigm
The greatest goal in life is action-Rockefeller's advice
At the beginning of the second lesson, the colon came to the point: "The first is the basic two programming paradigms: imperative and declarative, where the imperative is called a procedure." Popular point says, imperative programming consists of order sequence, namely a series of imperative sentence: ' Do this first, then do that ', emphasize ' how to do '; declarative programm
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.