News for hackers. Stuff that matters.
Re:How it feels to learn JavaScript in 2016 by jbrauer on Tuesday October 04, 2016 @09:23AM (#12635266)
> I still feel like a bad coder because i'm not doing it their way. :(

I've only been at it for about 2-3 years, and I must say, I feel this exact same way. Started on the LAMP stack in school and now I know nothing because what I know is "uncool" and outdated since MEAN and all of the encompassing JS libraries have become popular.

I caved and started to dabble in MEAN (even though I haven't perfected LAMP by a long shot yet..) and must say it is the most fun I have had while coding and setting up projects ever, however I can't help but feel it is like you say, "a frigging nightmare to maintain and deploy". Nothing seems intuitive...

Re:How it feels to learn JavaScript in 2016 by talmand on Tuesday October 04, 2016 @09:49AM (#12635449)
>> now I know nothing because what I know is "uncool"

You want to know what's "uncool" around here for me? Wanting to markup a table with table elements, mostly for the accessibility benefits. I've never seen such an odd pushback. Tables are so "old" I'm told.

Re:How it feels to learn JavaScript in 2016 by enraged_camel on Tuesday October 04, 2016 @09:55AM (#12635496)
Actually, what people frown upon is using tables for layout. Using them to display actual tabular data is quite fine. (I mean, everything is fine at the end of the day as long as the end-user is happy, but you know what I mean...)
Re:How it feels to learn JavaScript in 2016 by talmand on Tuesday October 04, 2016 @10:05AM (#12635574)
No, you don't understand. I don't want to use tables for layout, I want to use tables to display a good old-fashioned table. A table displayed in an otherwise normally marked up page. That is what's getting the pushback.

I guess I could say I want to use table elements to layout a table, which would trigger the "don't use tables for layout" argument.

Re:How it feels to learn JavaScript in 2016 by scottmf on Tuesday October 04, 2016 @11:04AM (#12636067)
They're misunderstanding what people mean by "don't use tables". And they don't know what they're talking about.
Re:How it feels to learn JavaScript in 2016 by talmand on Tuesday October 04, 2016 @11:53AM (#12636445)
When I was informed of it, I responded with "they are wrong". We'll see how it goes.
Re:How it feels to learn JavaScript in 2016 by mountaineer22 on Tuesday October 04, 2016 @01:31PM (#12637382)
Is your intent for Section 508 compliance?

If the table cells have specific individual widths and heights, and contain a .gif or .jpg of equal size within them, then that is an inappropriate use of tables today.

Re:How it feels to learn JavaScript in 2016 by talmand on Tuesday October 04, 2016 @03:11PM (#12638427)
This "no table for layout" thing is so strong that people keep insisting that I am saying table elements for layout. I am literally saying "using table elements for a table" and not "layout with a table". It is a table with tabular data in it, just plain text. It is a styled table, but a table nonetheless.
Re:How it feels to learn JavaScript in 2016 by chris_wot on Tuesday October 04, 2016 @10:16AM (#12635661)
So... ignore them? If you want to use a table for tabular data, then please - use a table!

If someone whines you've used a table, then ignore their whining and keep using table markup for tabular data.

Re:How it feels to learn JavaScript in 2016 by talmand on Tuesday October 04, 2016 @11:52AM (#12636438)
Well, ignoring the situation is not a solution to this particular problem.
Re:How it feels to learn JavaScript in 2016 by chris_wot on Thursday October 06, 2016 @09:38AM (#12652312)
If it gets really bad, just mock them openly. Sure, you might not achieve your objective, but you'll have fun not getting there.
Re:How it feels to learn JavaScript in 2016 by AtheistOfFail on Tuesday October 04, 2016 @12:00PM (#12636493)
That's the normal way to do a table. Why import a dozen different libraries to render something that is HTML-included and renders in like 0 time because it's built right into the fucking browser.
Re:How it feels to learn JavaScript in 2016 by clifanatic on Tuesday October 04, 2016 @11:48AM (#12636402)
> even though I haven't perfected LAMP by a long shot yet..

I've been doing this for 25 years, and I've felt the same way over and over - by the time I feel even a little bit comfortable with an approach, everybody else has already seemed to dip their toe in it, pronounced it unusable, and moved on to the next shiny thing, and wondered why I'm still over here banging rocks together.

Re:How it feels to learn JavaScript in 2016 by scottmf on Tuesday October 04, 2016 @11:06AM (#12636082)
But LAMP hasn't become outdated in 2-3 years. It has been steadily dating for a long time.

If your school taught you LAMP as "current" then that is the issue here.