thecodeholic / php-developer-roadmap

This is PHP Developer Roadmap
3.6k stars 781 forks source link

Does the developer need algorithms? #18

Open Zemavong opened 1 year ago

Zemavong commented 1 year ago

Many sources state that a developer must know basic algorithms and data structures. What do you think about this? Don't you think it's worth adding a block with algorithms?

arthorS01 commented 1 year ago

Many sources state that a developer must know basic algorithms and data structures. What do you think about this? Don't you think it's worth adding a block with algorithms?

Hello there, I'm a leaner and I found this roadmap helpful.

When it comes to algorithms though, you would find that there are several of them and from a beginners point of view some of them look very complex 😞🙂.

As you improve on your problem-solving ability (which also includes writing algorithms) and build projects, you would find that there are already written algorithms to solve common problems that you may come across. In cases like that instead of reinventing the wheel (rewriting the algorithm), learning an already existing algorithm corresponding to that problem is helpful.

So in a nutshell, yes you need algorithms, both the ones you write and maybe (depending on the problem you're trying to solve) already existing ones.

Andrew-R-Stephens commented 1 year ago

I would posit that well-documented samples of common algorithms, written in any particular language, would be beneficial to both novice and advanced developers.

It will always help a novice developer to match a name with something they've unknowingly traversed. In my past while teaching myself Java, I've had the pleasure of saying, "Oh, that thing I've been using is called a Stack?" which ultimately leads to the questions of "why?" and "what other algorithms exist?".

As for the more advanced users, it helps them by hosting examples for comparison. We can see how two language syntactically differ in their approach to solving a common algorithmic problem.

That being said, I'd love to know how a PHP savant goes about solving more complicated algorithms.

mateuszrosiak commented 1 year ago

Reply

W dniu śr., 31.05.2023 o 23:42 Andrew S @.***> napisał(a):

I would posit that well-documented samples of common algorithms, written in any particular language, would be beneficial to both novice and advanced developers.

It will always help a novice developer to match a name with something they've unknowingly traversed. In my past while teaching myself Java, I've had the pleasure of saying, "Oh, that thing I've been using is called a Stack?" which ultimately leads to the questions of "why?" and "what other algorithms exist?".

As for the more advanced users, it helps them by hosting examples for comparison. We can see how two language syntactically differ in their approach to solving a common algorithmic problem.

That being said, I'd love to know how a PHP savant goes about solving more complicated algorithms.

— Reply to this email directly, view it on GitHub https://github.com/thecodeholic/php-developer-roadmap/issues/18#issuecomment-1571002338, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYHS7KPXOTDHEMPIV4F7EDXI63NBANCNFSM6AAAAAAU5PDLTU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Serdecznie pozdrawiam, Mateusz Rosiak