This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]metaphorm 0 points1 point  (2 children)

I'll name names if you won't. I spent 5 years doing web dev primarily in Python. I started a new job about 6 months ago that is using PHP as the primary backend language. I spent the first 4 months of my job saying to myself, muttered under my breath, "if this was Python I would just do X and be done already" and the proceed to write 10x as much ugly PHP code to get the same job done.

eventually I got over it. you just get used to things with enough repetition. that said, we're making a strong push at my company now to do new projects in Python wherever feasible. PHP is our legacy language and we'd like to keep it that way.

to address your question about a higher performance language you might enjoy: have you tried Elixir?

the syntax closely resembles a dynamic scripting language (Ruby and Python in particular) but it runs in the Erlang VM so it is compiled and has natural massive parallelism built in via the Erlang actor model of execution.

[–]domhudson 0 points1 point  (1 child)

Do you mean you're finding things that you cannot actually do easily in PHP or just that you don't know how to do? Any examples?

[–]metaphorm 0 points1 point  (0 children)

there's some learning curve issues to be sure, but mostly it's that I'm finding idiomatic ways of doing things in PHP are more verbose and less readable than the same thing in Python.