Jump to content

Photo

I think I need to move away from PHP


  • Please log in to reply
12 replies to this topic

#1 K_N

K_N

    Megabyte

  • Members
  • 576 posts
  • LocationPhoenix

Posted 18 May 2013 - 02:04 AM

I'm a fucking wizard with it, but I feel like it's instilling bad coding practices into my nature as a programmer.

 

The question is, what do I move on to? Python? I've got beginner experience in Python, but the syntax annoys me. Ruby? Everyone tells me ruby is dying, I don't want to waste time learning something that wont be relevant. I'm really leaning towards python, but I'd like anyone to try and convince me to switch to their server-side language.


Rumors of my demise have been greatly exaggerated.


#2 Guest_ElatedOwl_*

Guest_ElatedOwl_*
  • Guests

Posted 18 May 2013 - 10:00 AM

Meh, depends on what you're building really. Ruby is a beautiful language and is extremely consistent, but it also doesn't have caching like ASP.NET/java so load times are slower.

 

For point of reference, on careers 2.0 there's 1431 jobs listed - 564 are tagged java, 524 are tagged ruby, 521 python, 319 PHP, 277 C#, 273 C++



#3 K_N

K_N

    Megabyte

  • Members
  • 576 posts
  • LocationPhoenix

Posted 18 May 2013 - 04:54 PM

I'm really just looking for a replacement for PHP that isn't going to degrade my best practices. I certainly wont be using Java, though.


Rumors of my demise have been greatly exaggerated.


#4 Champion of Cyrodiil

Champion of Cyrodiil

    Gigabyte

  • Members
  • 776 posts
  • LocationVirginia

Posted 21 May 2013 - 07:58 AM

I always hear script writers rambling on about how great Perl is.  Maybe take a look at that.



#5 K_N

K_N

    Megabyte

  • Members
  • 576 posts
  • LocationPhoenix

Posted 21 May 2013 - 10:37 PM

I always hear script writers rambling on about how great Perl is.  Maybe take a look at that.

 

Sarcasm, har har.


Rumors of my demise have been greatly exaggerated.


#6 Darth Apple

Darth Apple

    Bit

  • Members
  • 2 posts

Posted 23 May 2013 - 01:55 PM

It seems like Python is becoming pretty popular. It's not a hard language to pick up either.


Makestation.net - creativity, unleashed


#7 K_N

K_N

    Megabyte

  • Members
  • 576 posts
  • LocationPhoenix

Posted 24 May 2013 - 07:43 PM

Yeah, I'm just very hesitant because "lol whitespace"


Rumors of my demise have been greatly exaggerated.


#8 user936

user936

    Byte

  • Members
  • 11 posts
  • LocationLebanon middle east

Posted 17 October 2013 - 12:22 AM

I'm a fucking wizard with it, but I feel like it's instilling bad coding practices into my nature as a programmer.

 

The question is, what do I move on to? Python? I've got beginner experience in Python, but the syntax annoys me. Ruby? Everyone tells me ruby is dying, I don't want to waste time learning something that wont be relevant. I'm really leaning towards python, but I'd like anyone to try and convince me to switch to their server-side language.

 

Why not use a php framework? I personally use symfony and I love it. It forces a coding pattern on you, and keeps your code clean. 

 

It is difficult to learn (it took me around 4 month of daily work on it to really learn it) but once you do learn it, development becomes much much faster. It is very organized and reuses code very efficiently 



#9 flcl_grim

flcl_grim

    Kilobyte

  • Members
  • 182 posts

Posted 21 November 2013 - 03:13 PM

If you know the principles behind your trade, you are not going to be corrupted by a specific task.

The context-dependent learning model implies that you will be able to catch yourself while programming in other languages because you will be saying to yourself, "This is how I would do it in PHP."

Regardless, learn every language that you can. Without formal training, it makes you more well-rounded, and it helps you understand the purpose of programming languages in the first place.  Each answer to the first question of programming ("What do I want to be easy in this programming language") is different, so each language is going to have different practices and procedures to take advantage of its creator's ideas for it.

 

That said, Perl is still better than Python.



#10 Guest_ElatedOwl_*

Guest_ElatedOwl_*
  • Guests

Posted 21 November 2013 - 04:20 PM

If you know the principles behind your trade, you are not going to be corrupted by a specific task.

The context-dependent learning model implies that you will be able to catch yourself while programming in other languages because you will be saying to yourself, "This is how I would do it in PHP."

Regardless, learn every language that you can. Without formal training, it makes you more well-rounded, and it helps you understand the purpose of programming languages in the first place.  Each answer to the first question of programming ("What do I want to be easy in this programming language") is different, so each language is going to have different practices and procedures to take advantage of its creator's ideas for it.

 

That said, Perl is still better than Python.

you win my "wat" of the day

pls no perl

and some languages will teach you patterns that don't carry over to any other language, so I wouldn't say learning any language is the same as the rest.



#11 flcl_grim

flcl_grim

    Kilobyte

  • Members
  • 182 posts

Posted 21 November 2013 - 11:45 PM

I agree with the specificity of programming languages--I meant to imply that each language is going to have its own "mode" or "feel," and that practicing one language is not going to corrupt your other learned languages.

 

In regard to the perl gambit, I think everyone hates it solely because ##perl on FreeNode is full of too-specific crazies.



#12 Champion of Cyrodiil

Champion of Cyrodiil

    Gigabyte

  • Members
  • 776 posts
  • LocationVirginia

Posted 26 November 2013 - 10:34 PM

I think grim nailed it on the head. To be truly good you need to solve the problem.  And when you look at a big problem, it's rarely solved with a single language or framework.  Being well rounded and understanding the principal nature of your work is the best course.  I feel as though every language or framework i have tried is easier than the previous... once i learn it of course.  But the learning curves get easier when you understand more overall.

 

Last week I realized I basically had 5 business days to figure out how to convert a few dozen map reduce jobs into an oozie workflow.  Which uses its own expression language.  Same thing a few months back with 'Drools' data enrichment.  I would say try and find a project that interests you, and is different from what your normally working on, and learn an entire new perspective.  

 

Also, Java is the best.

PHP is almost as cool... except for the fact its weakly typed and doesn't enforce standards.  Honestly, I've grown fond of Java since I havent touched PHP in a long time.  But i do still go to PHP when i want something quick and dirty, that i plan to stuff in a folder like some accountant's vb macro.



#13 Octal IT Solution

Octal IT Solution

    Bit

  • Members
  • 5 posts
  • Location4283 Express Lane Suite 317-890, Sarasota FL 34238

Posted 15 February 2018 - 01:13 AM

Hello 
Software development is a dynamic field. New and in-demand programming languages, frameworks and technologies can emerge, rise to fame, and then fade away in the course of a few years. Developers need to constantly be learning new skills to stay relevant.
As you said you want to try Python, it's really good. I am sharing a List of demanding skills here
1.JavaScript

2.python

3.Ruby(on Rails)

4.Java

5.PHP

6.Objective C

7.SQL

8.C++

9.C

10.C#

Python is second demanding skill in this list I have shared with you, So as you are thinking to move on to Python, you can go for it.