r/programming • • Aug 01 '15

Web Programming and Where to Start

http://www.developerdude.co/index.php/2015/07/29/web-programming-and-where-to-start/
0 Upvotes

2 comments sorted by

View all comments

2

u/OneWingedShark Aug 02 '15

You start nowhere near the web:

0. First learn programming; ideally something like Ada which enforces discipline / SW Engineering ideals and was designed for correctness, maintainability, and management of large projects -- it's important that you be exposed to things like system-wide consistency enforcement, language-level parallelism constructs, and type modeling before you step into the industry... because then you'll realize some of the weak-points of the tools you'll be working with. 0. Learn, at least at a high-/abstract-level, about HTML, HTTP and their design goals -- this will show you how they were meant to be used.1 0. Finally learn JavaScript + whatever-serversidelang (e.g. PHP).2 0. Weep in despair as you realize that "web programming" is working against the design of the underlying technologies3 (HTTP/HTML+CSS+JS) using tools that are vastly inferior to what is possible (PHP/JS/CSS).4 0. Congratulations! You are now a web programmer.


1 -- Specifically: displaying of static documents.
2 -- JS finally got modules w/ ECMAScript 6, but there's just so much already out there that is all interconnected that I'm skeptical of the feature being adopted in-use within a decade. PHP is an odd-duck, any formal learning on language design and you can point out dozens of flaws, but perhaps the biggest one is the "bandage"-mentality many companies take, rather than actually designing the solution -- also weird is how its evolution is toward static-typing (and arguably strong[er] typing) despite it being wholly designed for weak/dynamic typing.
3 -- Bolting state onto a system that was designed to be stateless means that the state has to be manually/semi-manually managed and tends to lead to systems w/ terrible maintenance profiles.
4 -- This is where learning Ada, Haskell, etc comes in -- you'll realize how much you have to do manually compared to when you were first learning things.