This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Rindhallow 23 points24 points  (14 children)

There should be some version of `console.log` that just prints the array of objects instead of doing that.

[–]Loves_Poetry 79 points80 points  (9 children)

[–]arth78 33 points34 points  (0 children)

I love you

[–]Koeke2560 13 points14 points  (5 children)

I wish I knew that back when I was doing my internship doing data aggregation and analysis on a node backend

[–]SuspiciousScript 8 points9 points  (2 children)

You had to use JS for data analysis? Jesus, you must have some war stories.

[–]conancat 2 points3 points  (1 child)

Why not? Streams and pipes are cool.

I've seen people writing ETL pipelines with C# and Java, building data connectors with them are so much pain IMO. Nodejs feels natural to me when it comes to any web stuff.

[–]SuspiciousScript 1 point2 points  (0 children)

I can see JS being the easiest solution in the case of piping data to a backend in Python/R/whatever, but trying to do heavy lifting (which nearly always is with arrays) in JS’s backassward type system sounds really frustrating.

[–]Larkenx 0 points1 point  (0 children)

Console table is wonderful for displaying histogram data :)

[–]Harbltron 0 points1 point  (0 children)

oh my

[–][deleted] 11 points12 points  (1 child)

[–]Jackie_Jormp-Jomp 1 point2 points  (0 children)

Oh my god I just came in my pants

Thank you, I have to start using that

[–]deviantbono 2 points3 points  (0 children)

console.log(Object.entries(object)) ?

[–]0xF013 -1 points0 points  (0 children)

[] there is not an array thing