Please teach your friends in a variety of programming languages: How did you overcome your reliance on the first language?

Source: Internet
Author: User
My current situation is this:
PHP is my first language, the basic usage is still relatively good. But corporate leaders seem to have a preference for python, but not for no reason. Because now I often have to do some small tools, data detection, results check what, PHP portability, Interface (PHP_CLI), are not as useful as python.
Because I am familiar with PHP, before a few gadgets have deliberately avoided python, but long-term is not a method, skills are not improved, programming is not a challenge. In fact, I also want to try Python, learn a simple grammar, has never done anything.
But the reliance on the first language is very difficult for me.
So ask a variety of programming language friends: How did you overcome it?


Reply to discussion (solution)

Also want to learn Python feel good convenient and write quickly have a lot of library

Project needs to learn, now can be in three languages to do projects, no dependence

I want to ask you how you handle the dialects of Putonghua, accent and work.

My most familiar is C #, now with php,c# can't use how to break?

Do you love programming?

The hardest thing about personal PHP to Python is two:
1. Familiar with the list of PY, tuple and list expressions, generator expressions, because the PHP array function is very powerful, but the py corresponding dict processing is very weak, PHP array of functions in the Py almost to the list/tuple/set/ Dict even arrays are used to show
2.python Chinese material is really too little, but the English material is rich, or a little e reading ability is better

But
Do Web HTML I still think PHP is convenient, py do command line module good

As for the problem of language habitual, Py is to understand the problem of indentation in any case, especially cannot be mixed with tab and space
Knowing indentation, many programs are intuitive.

You've discovered the sexy parts of Python, so you might as well raise your obsession with Python,
Then find a suitable time to fit in and see if there's an orgasm.
If it happens, then it's time to move on with Python.
PHP just put it at home and bring the kids.
So python can take it out and the car shakes.

Customer service The simplest way is, every time you want to write in PHP, think of what Python should do, that is, all the simplicity of PHP as far as possible to find a Python alternative, if you feel there is no way to achieve, then do not do anything, Just find a Python alternative and continue working.

Easy to use is good! It's a bother and a bother to learn.

Today, one day, I installed an eclipse of the Python environment, before the one, and more smoothly. Hang up the MySQL module of python2.6, this can put me bad, incredibly because two system files are missing, but not run, there is a built-in module can not be used and error. The Python version is torture, and there is little consultation.
Take the first step, come on.
Seems to have a lot of friends on this topic have words, temporarily do not knot bar.

It's all tools, original aim.

Today, one day, I installed an eclipse of the Python environment, before the one, and more smoothly. Hang up the MySQL module of python2.6, this can put me bad, incredibly because two system files are missing, but not run, there is a built-in module can not be used and error. The Python version is torture, and there is little consultation.
Take the first step, come on.
Seems to have a lot of friends on this topic have words, temporarily do not knot bar.

Junior high School when the Wen Qu Star, there are many games, and support the editing game content, at that time remember there is a game snake, can eat different food, such as can make the snake longer, shorter, faster, and so on, and then I try to find the probability of the occurrence of food species, all transferred into a short food, play very comfortable. Later I know it is called VB.

Later high school learned to write a Russian block with VB.

High school Computer Competition, the results will only be confused game, computer concept knowledge will not, not the final.

Then went to college to learn C, C + +, it should be said that my first skilled language is C + +.

Then sophomore to participate in an activity (the prize has 1w yuan), to do a shopping site, the main difficulty is marketing methods and publicity methods, but to have a website. Our group of four girls do not understand what is the shop this kind of thing, I do not understand, but they recommend me to do, and they design propaganda and style. Helpless I went online to read the information, downloaded an online shop, the result is PHP, the full three-month activity period. Generous bonuses. I learned PHP for three months and achieved a relatively good level of proficiency.

It can be said that I am fully committed to the activity, every day is to check the PHP manual, write code, check the PHP manual, write code, grinding out. I think actually the landlord said to overcome the dependence of the first language is not entirely correct, the programming language is the same, learn a door can comprehend by analogy grasp another door. What makes us difficult to learn another door, the most important is the state of mind, such as that three months, a little distractions in school study (summer vacation, dorm, quiet and comfortable. For the work of the people, it is difficult to have such a state of mind, every day will be a lot of things, live troubled it. In addition, there is a different language functions are different, proficient in a language, then learn new, always feel a lot of new functions, libraries, read the manual to do a small project, or not, I think a lot of times is the function of the unskilled, I think that is not good, we can remember, or can do more small projects, Practice makes perfect

Said to say, it is difficult to do, because the work, we do not have much time to let themselves learn things, this is the seniors and we said.
I'm glad I'm still studying.

When I leave school, with the responsibility and hope to come to society, I hope there is a pure land and time let me meet again that programming beautiful bar ~

Concern!!!



I also want to know how to proficiency in more than two languages. A simple, second door is difficult.
For example, for me, Chinese first, English is really not good ah.

You've discovered the sexy parts of Python, so you might as well raise your obsession with Python,
Then find a suitable time to fit in and see if there's an orgasm.
If it happens, then it's time to move on with Python.
PHP just put it at home and bring the kids.
So python can take it out and the car shakes.

The description is too wretched!

@ Summer Snow Thank you for sharing your precious experience.
Also as a girl, I admire you ah, so early to start contact programming, you must be a good program in the future.

You've discovered the sexy parts of Python, so you might as well raise your obsession with Python,
Then find a suitable time to fit in and see if there's an orgasm.
If it happens, then it's time to move on with Python.
PHP just put it at home and bring the kids.
So python can take it out of the car. The program field is not missing is the sex!

The hardest thing about personal PHP to Python is two:
1. Familiar with the list of PY, tuple and list expressions, generator expressions, because the PHP array function is very powerful, but the py corresponding dict processing is very weak, PHP array of functions in the Py almost to the list/tuple/set/ Dict even arrays are used to show
2.python Chinese material is really too little, but the English material is rich, or a little e reading ability is better

But
Do Web HTML I still think PHP is convenient, py do command line module good

As for the problem of language habitual, Py is to understand the problem of indentation in any case, especially cannot be mixed with tab and space
Clear indentation, many programs are very intuitive analysis is in place Ah, in order to improve their own needs to do some to overcome. Thank you

Starting with the hard start, my first language is C/s + + ....
After contacting PHP, we found that the three-stream C + + programmer technology is better than the first-class PHP programmer ...

NB Programmer's planning, basically have a second language learning plan, such as the guy who wrote Think in Java is also think in C + + master.
It is a kind of experience, a lot of skills, sometimes you will see the shortcomings of both sides, and then like a building said you can be a fit, balabala ...
But always have a good game of that skill, that is, Comrade Mao said that the special and red, broad and wide skills show you do not do anything.


Today, one day, I installed an eclipse of the Python environment, before the one, and more smoothly. Hang up the MySQL module of python2.6, this can put me bad, incredibly because two system files are missing, but not run, there is a built-in module can not be used and error. The Python version is torture, and there is little consultation.
Take the first step, come on.
Seems to have a lot of friends on this topic have words, temporarily do not knot bar.

Junior high School when the Wen Qu Star, there are many games, and support the editing game content, at that time remember there is a game snake, can eat different food, such as can make the snake longer, shorter, faster, and so on, and then I try to find the probability of the occurrence of food species, all transferred into a short food, play very comfortable. Later I know it is called VB.

Later high school learned to write a Russian block with VB.

High school Computer Competition, the results will only be confused game, computer concept knowledge will not, not the final.

Then went to college to learn C, C + +, it should be said that my first skilled language is C + +.

Then sophomore to participate in an activity (the prize has 1w yuan), to do a shopping site, the main difficulty is marketing methods and publicity methods, but to have a website. Our group of four girls do not understand what is the shop this kind of thing, I do not understand, but they recommend me to do, and they design propaganda and style. Helpless I went online to read the information, downloaded an online shop, the result is PHP, the full three-month activity period. Generous bonuses. I learned PHP for three months and achieved a relatively good level of proficiency.

It can be said that I am fully committed to the activity, every day is to check the PHP manual, write code, check the PHP manual, write code, grinding out. I think actually the landlord said to overcome the dependence of the first language is not entirely correct, the programming language is the same, learn a door can comprehend by analogy grasp another door. What makes us difficult to learn another door, the most important is the state of mind, such as that three months, a little distractions in school study (summer vacation, dorm, quiet and comfortable. For the work of the people, it is difficult to have such a state of mind, every day will be a lot of things, live troubled it. In addition, there is a different language functions are different, proficient in a language, then learn new, always feel a lot of new functions, libraries, read the manual to do a small project, or not, I think a lot of times is the function of the unskilled, I think that is not good, we can remember, or can do more small projects, Practice makes perfect

Said to say, it is difficult to do, because the work, we do not have much time to let themselves learn things, this is the seniors and we said.
I'm glad I'm still studying.

When I leave school, with the responsibility and hope to come to society, I hope there is a pure land and time let me meet again that programming beautiful bar ~
That's really good.
Likes a

In fact, the most difficult is that you do not actually use, I am PHP and Python contact, both are weak type language, not bad. I know it with a lot of.

@ Summer Snow Thank you for sharing your precious experience.
Also as a girl, I admire you ah, so early to start contact programming, you must be a good program in the future.

only to see the reply, seemingly csdn's @ sign reply, the other side is not received, and Weibo different

Starting with the hard start, my first language is C/s + + ....
After contacting PHP, we found that the three-stream C + + programmer technology is better than the first-class PHP programmer ...

I think that's your definition of "first class PHP" too low ...

My first language is VB, usually do private desktop tools on it, in fact, the work is PHP, there is no reliance on not rely on, VB is not used in my work.
My only reliance on it is to make tools. To overcome, there is nothing to say, is to learn C # instead of VB. Now the Desktop program with C # is also small, not skilled, to find a variety of articles reference reference, will use a set of control objects and so on, to meet my tools. And then go back to work.

Thank you for your support, I have been successfully through the learning of a second language period. Today's projects are written in Python as much as possible.

  • Related Article

    Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.