LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   PHP and mathematics (http://www.linuxquestions.org/questions/programming-9/php-and-mathematics-836576/)

Mr. Alex 10-06-2010 01:25 PM

PHP and mathematics
 
Hi!
For programming you need to be a mathematician. For example if you do C/Java/Pascal/Python(...) programing. But what about PHP? If my mathematics is very poor, can I do PHP programming well? Who can tell, make it clear please.

PehJota 10-06-2010 02:22 PM

Programming is programming. The amount of math involved depends on the project. If you're just taking input and throwing it somewhere, you can probably get by with first-grade math in just about any language. On the other hand, if you're writing a 3-D graphics engine (probably not something you'd do in PHP, but the point stands), you'll need college-level calculus and discrete mathematics for things like vectors, planes, transformations, and projections.

There is no yes or no answer to this. It really depends on the programming work you're doing. PHP is primarily designed for web applications though, so chances are that you probably won't see anything too complex in day-to-day stuff. But there are still things like Boolean logic, bit operations (these are computers, after all), and image dimensions. Math comes with the territory in any language (and in most careers), so I suggest you find some good math courses or online tutorials.


All times are GMT -5. The time now is 08:57 PM.