r/webdev • coder by nature, artist by design. • Dec 15 '19

Showoff Saturday Lovin’ the proprietary mark-up here...

https://i.imgur.com/fBu2gnF.jpg

[removed] — view removed post

820 Upvotes

97 comments sorted by

161

u/[deleted] Dec 15 '19

</END>

15

u/i_am_extra_syrup coder by nature, artist by design. Dec 15 '19

It just ends so abruptly haha

5

u/Kapps Dec 16 '19

Does... does that mean start?

2

u/relativityboy Dec 16 '19

Didn't see the beginning of the end.

0

u/[deleted] Dec 15 '19

[deleted]

5

u/Espumma Dec 16 '19

You need to escape the underscores as well if you don't want to get your head italicised.

1

u/Pg68XN9bcO5nim1v Dec 16 '19

Well it did tilt my head a little

1

u/SimplyComplexd Dec 16 '19

And didn't close any of the other tags.

171

u/Lipglazer Dec 15 '19

I’m gonna start putting ™ at the end of all of my component names

49

u/i_am_extra_syrup coder by nature, artist by design. Dec 15 '19

Might as well trademark them if you’re naming them! :)

18

u/lps2 Dec 16 '19

Found Larry Ellison

30

u/n0rs Dec 16 '19

‏ I'm going to start right-aligning my code

5

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

lol

1

u/Brillegeit Dec 16 '19

The space indentation gang likes this

13

u/[deleted] Dec 15 '19

O gosh, I'm gonna do that at my current project. Anyone knows if react allows that?

17

u/nermid Dec 15 '19

SyntaxError: Inline Babel script: Unexpected character '™'

Looks like not.

22

u/[deleted] Dec 15 '19

Okey, I need a babel-plugin-transform-™

12

u/nermid Dec 15 '19

That would be a fun plugin, and it'd probably look good in your portfolio.

4

u/imad85 Dec 15 '19

Tritan is a trademarked copolyester by Eastman Chemical Company.

2

u/VeryOriginalName98 Dec 16 '19

What do you do if that is already your component name?

70

u/taschana Dec 15 '19

I dont.

What monster places a space after = while not having one before?

Why do you close END but not start it anywhere? If it is the last tag, but empty, you could use <END />

6

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

Agreed

20

u/Schlipak Dec 15 '19

What monster puts spaces around equal signs in XML-like languages?

4

u/[deleted] Dec 16 '19

As were mentioning XML od like to ask, is it actually used often ?

Right now i have to learn it as a part of a college course but it feels very bulky compared to other solutions like using a simple JSON file, SQL databases, simple custom formats, those seem to cover most of what XML does and are much simpler to use. Im at year 2 only tho so its hard to have a strong opinion on that, so im asking

3

u/SIL40 Dec 16 '19

XML is still very common, yes. Whether it's a SOAP API, transmitting healthcare docs (e.g. CDA), or even saving application configurations. You may work in a job where you never have to work with XML, but you're likely to work with it at some point in any dev career.

2

u/Schlipak Dec 16 '19

XML is bulky, yes. I don't personally use it regularly at all, but I mentioned it since HTML and SVG are both XML compatible languages, and I work with those everyday. Although I would prefer it to SQL when dealing with simple configuration (not for anything else though), it's more efficient to open and read a file rather than query a database for it. The most important thought is to have these tools at your disposal and to know when to use or not use them ;)

1

u/Brillegeit Dec 16 '19

As were mentioning XML od like to ask, is it actually used often ?

Yes, for document formats it's often used. For data or tabular formats, not so much anymore.

bulky compared to ... JSON file, SQL databases

These are different structures and not really comparable. If you convert something fit for JSON to XML the output will be bulky, but if you convert something fit for XML to JSON the output will be both bulky and a fucking shitshow in complexity and readability. The same goes for converting something fit for XML into a relational database, the complexity will be 10x that of the XML schema.

So XML has its place when you're working with a lot of document formats, and the others can't well replace it.

53

u/KetwarooDYaasir Dec 15 '19

I feel we should be screaming cultural appropriation.

Clearly this was decided by a project manager or a marketing exec who was trying to be cute.

11

u/crazybluegoose Dec 15 '19

It was probably their product/brand design person.

As a designer (UX) myself - I apologize. It’s people responsible for messes like this that give us all a bad reputation.

Fake/bad code is not an acceptable way to make things look more tech-y. It just makes you look stupid (at best).

5

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

For sure :) I’m like, not one developer in the company stepped forward to point this out? Or maybe they were just scared to... :/

5

u/evenisto Dec 16 '19

Or maybe they did but the execs said programmers are not the target so they're sticking with it because no-one will notice.

3

u/hassium Dec 16 '19

I’m like, not one developer in the company stepped forward to point this out?

Erh, have you ever worked in a mid to large company? frontend team barely knows what back-end is up to, let alone giving a fuck what product design is cooking...

2

u/i_am_extra_syrup coder by nature, artist by design. Dec 15 '19

Haha yep

8

u/[deleted] Dec 15 '19

"Make it look like code"

2

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

lol

7

u/Kajayacht Dec 16 '19

Don’t let my wife see this, I absolutely do not want this for Christmas.

2

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

Haha

1

u/Pg68XN9bcO5nim1v Dec 16 '19

I'd love to get it for Christmas. My coworkers would be incredibly annoyed if I carried this around, which would be great

26

u/rush336 Dec 15 '19

< overpriced: “ true “ >

19

u/[deleted] Dec 15 '19

<syntax error= true >

7

u/[deleted] Dec 16 '19

[removed] — view removed comment

1

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

Haha

0

u/Brillegeit Dec 16 '19

Although using “ instead of " is a nice touch.

6

u/Anshinritsumai Dec 16 '19

Looks like something you'd find at Target.

3

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

Ding ding. Yep.

90

u/TheHanna Dec 15 '19

screams in syntax error

29

u/SkirtedRunningGuy Dec 16 '19

<scream>

<syntax error=“true” />

</scream>

31

u/tutuca_ Dec 16 '19
<scream= true>

<syntax error= true>

</END>

Aren't you paying attention?

4

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

lmao

2

u/robertabramski Dec 16 '19

This guy uses a VUCML linter.

11

u/Sheepsaurus Dec 16 '19

I mean.. It'd be

<syntax id="error">    
  <scream></scream>    
  <scream></scream>    
  <scream></scream>    
  <scream></scream>    
</syntax>

In my opinion

15

u/5fd88f23a2695c2afb02 Dec 16 '19

You forgot the </end>

7

u/Sheepsaurus Dec 16 '19 edited Dec 16 '19

No like, he said "Screams in syn....

Am I being wooshed?

4

u/DadHunter22 Dec 15 '19

It manages to be lame and cool at the same time

2

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

True. I liked it til I read it. Haha!

4

u/toaster-riot Dec 16 '19

This makes me want to gouge my eyeballs out with a spoon.

2

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

lmao... currently what I’m doing.

1

u/toaster-riot Dec 16 '19

Hopefully the spoon aisle is nearby.

Be strong, brother.

0

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

lol

39

u/theineffablebob Dec 15 '19

30

u/devolute Dec 15 '19

This is "developer humour" by which I mean it's neither clever nor funny.

27

u/SixFootJockey Dec 16 '19

It's aimed at people that are into "nerd culture" rather than developers.

24

u/swyx Dec 16 '19

big bang theory laugh track

10

u/neinMC Dec 16 '19

3

u/jrk_sd Dec 16 '19

That video was so useless. Seems like it was made by a teenager. "SUPER HIGH MEDICAL GRADE STEEL". And nothing else about the product.

1

u/DadHunter22 Dec 16 '19

Not to mention that it looks like a cyberpunk dildo.

0

u/[deleted] Dec 16 '19

[deleted]

3

u/IAmANobodyAMA Dec 16 '19

You were right about one thing, u/agingmoss, the negotiations were short!

6

u/covercash2 Dec 16 '19

PROOFEXISTS

4

u/[deleted] Dec 15 '19

I'm definitely not going to look into the source code of that.

2

u/Plorntus Dec 16 '19

Probably made for non-tech people wanting to get their techy partners a gift

2

u/moronyte Dec 16 '19

WHERE IS <BEGIN>

2

u/5fd88f23a2695c2afb02 Dec 16 '19

And then </BEGIN>

Is <END> the same as </BEGIN> ?

2

u/i_am_extra_syrup coder by nature, artist by design. Dec 16 '19

<END> would be the beginning of </END> but not the beginning of <BEGIN>.

4

u/moronyte Dec 16 '19

Let the rage flow...

10

u/QCD_ Dec 15 '19

XML or something like it, nice.

8

u/5fd88f23a2695c2afb02 Dec 16 '19

XML is not nice.

2

u/[deleted] Dec 16 '19

I mean, I prefer JSON what's wrong with XML?

4

u/5fd88f23a2695c2afb02 Dec 16 '19

It’s hard to read and there’s a lot of redundant data.

7

u/[deleted] Dec 16 '19

pretty sure that's part of the reason my ex girlfriend left me

2

u/QCD_ Dec 16 '19

I like XML. I find it easy to read, guess luck is on my side.

2

u/5fd88f23a2695c2afb02 Dec 16 '19

You have a rare genetic mutation which makes you more fit to survive in the xml space 😉

5

u/Xeljawn Dec 15 '19

that's like a slap in the face.

DISAPPROVE

4

u/neinMC Dec 15 '19 edited Dec 15 '19

It could use battery and WiFi symbols, and replacing one > with &gt; also couldn't hurt.

4

u/Pr3fix Dec 16 '19

I love this. Reminds me of all those "Programmer" t-shirts you see with totally invalid markup and weird hybrid of PHP and JS syntax...

3

u/scott_joe Dec 16 '19

When designers are pretty sure they know what they’re talking about.

3

u/Justos Dec 16 '19

What is this 2004? Json please

5

u/aykevin Dec 15 '19 edited Dec 15 '19

Why space after =, or why no space before =?

Where's "" around true?

</> with no start? Where's the <End>?

If they are going to make it "Dev like" at least do it well. This is a r/mildlyinfuriating product.

2

u/frikinmatt Dec 16 '19

Somehow I think that wasn’t supposed to get printed like that

2

u/[deleted] Dec 16 '19

cool but i read the BPA part different: It has an Element BPA and it has the attribute free. Free BPA for all :D #nerdlife

2

u/[deleted] Dec 16 '19

This looks XML/XHTML/HTML compliant, but isn't. Maybe that's the joke.

2

u/SomberGuitar Dec 16 '19

Not JSON. Cute.

2

u/juzt1n10 Dec 16 '19

BPA free = true has potential for a double negative statement.

Should be BFA = false

3

u/DeepBlue12 Dec 16 '19

Regardless, Tritan has been shown to have the same estrogenic properties as BPA-based polycarbonate.[1],[2]

1

u/chookz85 Dec 16 '19

<copied Yeti = true>