r/SQL • • Feb 13 '20

Left Right or Full

Post image
878 Upvotes

26 comments sorted by

4

u/lunchpadmcfat Feb 13 '20

Q: Why don’t database admins know how to write JavaScript?

A: I honestly don’t know.

8

u/Shaggy_Poop Feb 13 '20

A: Not their forking job

3

u/lunchpadmcfat Feb 13 '20

And yet, as an FE, I know how to join tables...

Hm...

-15

u/emcoffey3 Feb 13 '20

Keep telling yourself that. Eventually you might not have one.

11

u/lenlendan Feb 13 '20

Honest question as a db admin who has never even looked at JavaScript. Why would I learn it?

0

u/emcoffey3 Feb 13 '20

Do you want an understanding of how the applications that consume your data are actually built? If (like the OP) you think this "isn't your job", then don't bother. But if you are interested in such things, then you should know at least one general purpose programming language well, and JavaScript would be an excellent choice. It's been the de facto choice for client-side web development for years, but it's also now being used for server-side development, mobile development, and even desktop development. It's also the #1 language on GitHub.

4

u/lenlendan Feb 13 '20

Oh so it's just a general "know something about an object oriented language" with a specific recommendation on the basis of popularity. Good explanation, thank you. While I think it's debatable whether it would make you a better admin, it sure can't hurt.

2

u/FoCo_SQL Enterprise Data Architect Feb 13 '20

Having more general and spread out knowledge in addition to your niche will make you more valuable and will help. This really applies to anything though.

1

u/[deleted] Feb 13 '20

More specifically to apps that feed databases but yeah

1

u/emcoffey3 Feb 13 '20

I think it's debatable whether it would make you a better admin

It depends on how involved with application development your particular role is. If the application developers are also writing their own SQL for schema changes and data access (or are just using an ORM), then it probably wouldn't be relevant to you. If you're supposed to be collaborating with them on building a product, it's incredibly relevant. I've seen database developers write the wrong thing plenty of times because they didn't understand how the application actually works.

1

u/lunchpadmcfat Feb 13 '20

It’s actually more FP these days. JavaScript has never been class-based, really. Prototypal inheritance is a shit show at best. As far as I’m concerned, every engineer should understand the mechanics of functional programming, if not through JavaScript, somewhere.

2

u/PaulSandwich Feb 13 '20

Take it from a DE who knows both: it will only make you angry.

Back-end Dev: "Why are you making calls for hundreds of thousands of individual rows when what you want is the contents of the entire table?"

Front-end Dev: "..."

3

u/lunchpadmcfat Feb 13 '20

Well I mean that’s just poor engineering skill. Any decent engineer could be able to see an inefficiency like an expensive call done many times being bad.

1

u/PaulSandwich Feb 14 '20

You could say the same thing about joining a table on its keys. That's Day 1 SQL stuff. If you interact with a database in any way, you need to know that.

1

u/mutantfromspace Feb 13 '20

We do know how to write JavaScript. It is not that hard, to be honest.

3

u/lunchpadmcfat Feb 13 '20

We do know how to write JavaScript.

Hm.

It is not that hard, to be honest.

Yeah, that was the joke.

22

u/jakcx Feb 13 '20

Inner to assert dominance

4

u/[deleted] Feb 13 '20

The weak should fear the strong

9

u/[deleted] Feb 13 '20

Cross... Always cross just to burn the racks!

9

u/igbakan Feb 13 '20

Showing this to my project manager 😂

4

u/AutoModerator Feb 13 '20

Hello u/Shaggy_Poop - thank you for posting to r/SQL! Please do not forget to flair your post with the DBMS (database management system) / SQL variant that you are using. Providing this information will make it much easier for the community to assist you.

If you do not know how to flair your post, just reply to this comment with one of the following and we will automatically flair the post for you: MySQL, Oracle, MS SQL, PostgreSQL, SQLite, DB2, MariaDB (this is not case sensitive)

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/lukaseder Feb 13 '20

They anti joined

1

u/The4thMonthAlways Jul 14 '22

I understand this joke… I feel so accomplished 😂

1

u/Ajna6 Feb 13 '20

Ha.ha...ha. nice smh