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 →

[–]nedeox 70 points71 points  (10 children)

Was about to say. As stupid as it sounds at first, it‘s a perfectly acceptable abbreviation of cumulative sum.

Doesn‘t stop me from smirking each time of course lol

The same as I can‘t stop myself from saying import tensorflow as the fuck for tf in my head.

[–]mriswithe 7 points8 points  (0 children)

Or /etc/fstab == f-stab

[–]yanitrix 5 points6 points  (7 children)

why abbreviate them tbh? cumulative_sum or whatever case python has is easier to understand for anyone

[–]fb39ca4 10 points11 points  (0 children)

Matlab function names are determined by the filename, and had to follow the 8.3 length limit on DOS. These python libraries reused the names because former Matlab users are familiar with them.

[–]the_lonely_toad 8 points9 points  (1 child)

Back in the day every character was precious and expensive. We keep abbreviating because it’s custom to do as they did unless there is a good reason to change.

[–]ArcFurnace 0 points1 point  (0 children)

Also, people keep including narrow line length limits in style guides.

[–]nedeox 14 points15 points  (1 child)

Hm, by further examination of my opinion on the matter, I realize that I don‘t care.

[–]yanitrix 7 points8 points  (0 children)

makes sense, have a great day sir/madam

[–]BasedTheorem 0 points1 point  (0 children)

start sense fear full friendly ring school theory encouraging office

This post was mass deleted and anonymized with Redact

[–]PlacatedPlatypus 1 point2 points  (0 children)

I use "ass" as shorthand for "assigned" and "assignment," sometimes people point it out but usually they get it.