By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,722 Members | 1,874 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,722 IT Pros & Developers. It's quick & easy.

php syntax

pradeepjain
100+
P: 563
Hii guys,
I am a php programmer.I don't usually remember syntax,i search google.I wanted to know how important is it to remember all those syntaxes.



thanks,
Pradeep
Sep 24 '08 #1
Share this Question
Share on Google+
8 Replies


Markus
Expert 5K+
P: 6,050
You're a PHP programmer, but you don't remember the syntax? Sounds risky. I'll go ahead and move this to the PHP forum.

Cheers.
Sep 24 '08 #2

pradeepjain
100+
P: 563
You're a PHP programmer, but you don't remember the syntax? Sounds risky. I'll go ahead and move this to the PHP forum.

Cheers.

Hey what i meant by "not remembering" is that not all syntaxes .
Sep 24 '08 #3

NeoPa
Expert Mod 15k+
P: 31,541
The more of it you remember, the easier it will be for you to code. It's as simple as that really. Every time you're not sure, you will either look it up (wasting some time) or try it. This can waste even more when you get it wrong of course.
Sep 24 '08 #4

missinglinq
Expert 2.5K+
P: 3,532
I am a php programmer.I don't usually remember syntax,i search google.I wanted to know how important is it to remember all those syntaxes.
Of no importance at all, if your career goal is to become a grocery clerk!

Linq ;0)>
Sep 24 '08 #5

numberwhun
Expert Mod 2.5K+
P: 3,503
Of no importance at all, if your career goal is to become a grocery clerk!

Linq ;0)>
LOL!!! At least that syntax wouldn't be hard to remember. :-)


I would say that if you don't remember the syntax of the things you are coding, that you haven't done enough coding. Repetition is a funny thing in that if you do something enough times, you are bound to remember it. Granted, there are things that I don't always remember in a language, mostly because I use them infrequently, but I know where to look them up. But, I guarantee you I know my basic syntax, depending on the language I am coding in. Its important, especially if you go for a job coding in PHP (or whatever language). Chances are, they will ask you to code in the interview (especially if they are serious about their coders abilities).

Just my .02.

Regards,

Jeff
Sep 24 '08 #6

pradeepjain
100+
P: 563
Yeah sure guys,
I will keep everything you people you have told in my mind.Ya of course i want to raise to a good height in php programming.I am working on php from past 1 yr.So i wanted to know wheather i am going in a correct path or how do i need to improve.


thanks,
Pradeep
Sep 25 '08 #7

100+
P: 310
I always forget a lot of PHP syntax from week to week. It is because I do so many other things and work with various languages. Just the combination of PHP and Javascript causes me to be confused.

It is not so important about whether you have the exact syntax at your fingertips. After all, what you have forgotten you can quickly look up in PHP documentation.

More importantly is that you have the basic knowledge of what is possible to do in PHP and what is bad coding practice. As an extreme example, if you do not know the switch statement syntax, you can always look it up. But if you do not even know that a switch statement is possible in PHP, you will be making sloppy code in places using if ... ifelse ... ifelse ... else chains.

The very best you could do is to make some - possibly introductory - PHP books as your bedtime reading over the next weeks, as a refresher of what is possible. I am doing this now with Java, something that I coded years ago and forgotten a lot about.
Sep 25 '08 #8

NeoPa
Expert Mod 15k+
P: 31,541
Yeah sure guys,
I will keep everything you people you have told in my mind.Ya of course i want to raise to a good height in php programming.I am working on php from past 1 yr.So i wanted to know wheather i am going in a correct path or how do i need to improve.


thanks,
Pradeep
In that case you need to :
  1. Get using it as much as possible. There's no substitute for hands-on experience.
  2. While using it, research anything you don't understand thoroughly. The effort you put in at the start will be amply rewarded later.
  3. After a while, come back here and share your new expertise :D That was a joke, but it can truly help you to continue learning. It's surprising what useful things you can learn from the other experts, and even by looking into something for somebody else.

Good luck, and welcome to Bytes!
Sep 25 '08 #9

Post your reply

Sign in to post your reply or Sign up for a free account.