Live data from Hacker News

Web Programming Is Hard

shubharamani.com

61–70 of 165 posts

Re: Web Programming Is Hard

#61
post #32

Earlier quoted context omitted.

Great advice, all. The HTTP protocol skill is something I didn't even consider.

ATM Machine. PIN Number. HTTP Protocol.

For the less technical it sometimes helps to qualify what something is even if it is embedded in the abbreviation. But considering the audience here, you're right. I will remove the offending word.

Re: Web Programming Is Hard

#63

One common mistake when one tries to tackle the web is to do it all at once. What you need: - get familiar with HTML and css. That is, learn the basics, their purpose and how they interact. - get familiar with some basic JavaScript and how you use it on the browser. - learn one of the prominent web languages for the server-side. Python, Ruby, PHP, etc. I used to recommend PHP as a first language because compared to o…

I would add one thing: get to know HTTP. Even a basic understanding will prevent you from making costly mistakes.

Any recommended resources on getting a good foundation for HTTP?

Re: Web Programming Is Hard

#65
It was funny to read this as I now find client side development ridiculously hard (I last did it frequently > 10 years ago) and difficult to get my head into, whereas even large scale Web development feels quite surmountable or even easy to me. I think it merely proves that what you keep doing, you eventually find natural.

Re: Web Programming Is Hard

#66
post #2

I periodically think "Man, I really shouldn't be getting paid for this. Any idiot could stick these two APIs together." In my more sensible moments, I remember that that idiot only needed to know HTML, CSS, the DOM model, Javascript, jQuery, HTTP (mostly headers and status codes), Ruby, Rails, basic MVC design, Oauth, SQL, SQL performance, five-ish APIs to support the two that needed integration, how to configure and…

It's like maintaining a skyscraper built out of Tinker Toys. What I wonder is: Does the following sentence run through the head of every expert in every field? Man, I really shouldn't be getting paid for this. Any idiot could [do X]. It certainly felt true of most of my day-to-day work in graduate semiconductor electronics. It felt true of a lot of biology research. My conclusion is that there are a mere handful of d…

Man, I really shouldn't be getting paid for this. Any idiot could [do X].

Another variation: what I do is not easy but every person practicing in my field can do this just as well as I can.

I worked very hard for many years to master my craft and always felt deficient along the way because the individual pieces seemed so daunting as I encountered and dealt with them. Not daunting in the sense of insurmountable. Just difficult. Long hours, Lots of sweating it out to get a given project done, one step at a time.

Nothing new here. Everyone who works hard to try to excel in his field goes through it.

It took me 10 years into my career to realize that many in my field (law) were not like me but contented themselves with cutting corners or otherwise coasting along while seeking to avoid the hard challenges.

Doing something right, and learning to do so consistently, is hard in any complex field. It does seem easy once you have mastered the difficulties but not that many are willing to do what it takes to get there. People are all too often content with mediocrity.

Re: Web Programming Is Hard

#68
post #2

I periodically think "Man, I really shouldn't be getting paid for this. Any idiot could stick these two APIs together." In my more sensible moments, I remember that that idiot only needed to know HTML, CSS, the DOM model, Javascript, jQuery, HTTP (mostly headers and status codes), Ruby, Rails, basic MVC design, Oauth, SQL, SQL performance, five-ish APIs to support the two that needed integration, how to configure and…

I think the people I have the most respect for are the people who master cross-browser CSS going back to IE7.

Is there another equivalent when it comes to a somewhat popular technology where quirky fixes are actually the main part of the work process?

Re: Web Programming Is Hard

#69
post #58
post #17

Earlier quoted context omitted.

That said, you need to have a firm grasp of all the basic security concepts before rolling out production code. You need to know how to avoid all the various injections.

There are some pretty (free) good tools out there to test against most injections methods. I'm not saying having a conceptual grasp of security hurts ;) All in all, you can't know all methods - and the tools won't probably know much less.

Every security professional I've heard speak emphasizes the importance of grasping what they tend to call "the security mindset". Which I understand to mean putting yourself in the place of an attacker and asking how your code could be taken advantage of.

Running an automated tool against your web app isn't a bad idea, but it's no replacement for thinking about what you're doing.

Post reply on HN