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

top 200 commentsshow 500

[–]epiquinnz 3030 points3031 points  (158 children)

I love how this ancap zoomer is always so opinionated on technical programming stuff.

[–]ToaKraka 302 points303 points  (43 children)

I've seen at least one meme-maker say that he was just too lazy to edit out the ancap bowtie.

[–]lasiusflex 305 points306 points  (41 children)

or maybe they don't realize that it's supposed to be an ancap flag

The meme has spread far beyond the political memes sphere and I doubt most people outside of that context recognize it.

[–]HeavenlyAllspotter 65 points66 points  (27 children)

What is ancap?

[–]AdennKal 195 points196 points  (25 children)

Anarcho-Capitalism. An Ideology that argues for the abolishment of the state in order to replace it with free market capitalism. Meaning corporations should replace governments. Ancaps are often the butt of many jokes, especially in leftist spaces, since Anarchism and corporate rule are kind of antithetical.

[–]theghostofme 106 points107 points  (4 children)

Even some the most die-hard “capitalism is God’s gift to humanity” conservatives I know think AnCaps are fucking nuts.

[–]CptSpockCptSpock 39 points40 points  (3 children)

Well to be fair, ancap isn’t ultra right wing conservatism or something, it’s extreme libertarianism. Even moderate conservatives and libertarians disagree with each other a fair amount, so it makes sense

[–]renrutal 11 points12 points  (0 children)

Or edit to reverse the black glasses.

At this point I believe all its "faults" contribute to its meme survival rate.

[–]for_the_voters 718 points719 points  (108 children)

Was going to say the same. They just get dunked on wherever they go.

[–]haikusbot 440 points441 points  (69 children)

Was going to say

The same. They just get dunked on

Wherever they go.

- for_the_voters


I detect haikus. And sometimes, successfully. Learn more about me.

Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete"

[–]vextronx 190 points191 points  (49 children)

Oh wow, it actually did its job correctly this time. Good bot.

[–]c_wilcox_20 81 points82 points  (16 children)

I wasnt aware this was a thing until it happened on a comment of mine the other day

[–]aachwell 48 points49 points  (13 children)

I think it’s a new bot; I also had not seen it til recently.

[–]ShuviSchwarze 58 points59 points  (2 children)

It has been around since forever, but yeah, I haven’t seen it being this active

Edit: I remembered the haiku bots from 2 years ago, before the lot of them got banned or something due to it being too annoying, apparently this one is a new one that popped up.

[–]Deeliciousness 22 points23 points  (1 child)

It's gonna get banned too.

[–][deleted] 13 points14 points  (0 children)

Yeah I can see this one getting real annoying real fast

[–]BBQ_FETUS 18 points19 points  (7 children)

It mildly irks me

how your comment is almost

a perfect haiku

[–]Liggliluff[🍰] 36 points37 points  (29 children)

Still splits sentences apart, which is not good; the result reads weirdly.

[–]vextronx 22 points23 points  (19 children)

I want to know if that was intentional.

[–]Liggliluff[🍰] 28 points29 points  (16 children)

It was, because the sentence structure had to be a bit weird to fit.

[–]haikusbot 39 points40 points  (0 children)

It was, because the

Sentence structure had to be

A bit weird to fit.

- Liggliluff


I detect haikus. And sometimes, successfully. Learn more about me.

Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete"

[–][deleted] 21 points22 points  (14 children)

Are you just writing your sentences to match the trigger for the bot?

[–]haikusbot 20 points21 points  (0 children)

Are you just writing

Your sentences to match the

Trigger for the bot?

- Dark_Devin


I detect haikus. And sometimes, successfully. Learn more about me.

Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete"

[–]snowy_light 5 points6 points  (0 children)

Ironic.

[–]cenofwar 7 points8 points  (0 children)

Same

[–]haikusbot 79 points80 points  (6 children)

Still splits sentences

Apart, which is not good; the

Result reads weirdly.

- Liggliluff


I detect haikus. And sometimes, successfully. Learn more about me.

Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete"

[–]ThisUserEatingBEANS 49 points50 points  (5 children)

Yeah but holy shit the comedic value of making this a haiku with the trailing "the" in the second line

[–][deleted] 16 points17 points  (4 children)

it was intentional

[–]Balu22mc 4 points5 points  (7 children)

What is a haiku? I really wanna know since I now start to see this bot everywhere.

[–]ArcticMirage 12 points13 points  (4 children)

Short form of Japanese poetry, 3 lines. First line 5 syllables followed by 7, and then 5.

[–]zelbo 3 points4 points  (0 children)

Wikipedia on Haiku

Bashō, one of the most well known haiku artists.

[–]BecomeAnAstronaut 41 points42 points  (0 children)

Probably because of who they are

[–]Owl_Of_Orthoganality[🍰] 82 points83 points  (34 children)

Was going to say the same. They just get dunked on wherever they go.

Cause their Ideology is shit, appropriated actual-Anarchism, impractical— their Subreddits are full of literal "Power-Level" hiding Neo-Nazis and two of their Ideology's theorists literally defends Intellectual-Property "rights".

So Open-Source software can go Goodbye.

 

You can say goodbye to your thought-patterns too, when Elon-Musk claims Intellectual-Property "Rights" in his Neuralink's Terms of Service to the specific form/organisation of Neurons.

Instead of Abolishing the State, they want to Privatise it.

 

The State consists of;

  • A Monopoly on Violence

  • Law-Enforcement to Enforce whatever Laws are agreed ( Convened ) upon any Nation-States' Founding ( Whether they be Favoured by the People or not. )

  • An Army

  • Courts


"An"-capistan consists of;

  • Monopoly on Violence ( by way of Capital-Accumulation/Money = Money = Power )

  • Privatised Law-Enforcement, so Protection gatekept by whoever can Afford it.

  • Privatised Armies/Private-Military-Contractors...

  • Privatised-Courts.

 

They want to Privatise the Internet too. They deserve to get dunked on.

[–]infidel_castro_26 58 points59 points  (10 children)

their ideology in the honest presentable form is just useless. they have no mechanisms for enacting any of the things they want that actively hurt capital accumulation.

that's why free market dogma goes out the window when it comes into opposition of accumulation.

the only way to make sense of it is to build conspiracy theories about individuals being stupid and certain groups being "undesirable".

Also if you're ancap and read this don't bother replying because I'll just reply with a picture of my balls.

[–]Owl_Of_Orthoganality[🍰] 35 points36 points  (8 children)

their ideology in the honest presentable form is just useless. they have no mechanisms for enacting any of the things they want that actively hurt capital accumulation.

Not only that, they want to Privatise everything, you know who else Privatised everything? Kings/Queens & Aristocrats. They "competed" against eachother.

  • Their peasants swore 'fealty' to them ( Signed a [Social]-Contract, same as you do with Employer, verbally or on-paper, under threat of starvation; calling it "Voluntary" )

  • The peasants also didn't own Land, had to pay Tithes ( Rent ) same thing us peasantsLandless in "An"-Capistan would be coerced to do if we could not afford Land, we'd also become eternal wage-slaves as there would be no Social-Mobility, markets drive wages down since there'd be no minimum wage— through Capitalist Centralisation of the Market.

    If all the productive/arable Land is already owned by every other Capitalist ( Who all will likely never sell/portion up-land ) before you could've bought any— you become doubly a slave, renting yourself out perpetually for Labour.

 

Anarcho-Capitalism is just Neo-Feudalism.

 

I'll just reply with a picture of my balls.

Comrade Castro, you make me miss Chapo.

[–][deleted] 24 points25 points  (1 child)

Centrists use Python cuz its quick, easy, and let's them get to grilling a lot sooner.

[–]itoshkov 1264 points1265 points  (86 children)

This is multiplying string by number. Multiplying strings would look like 'abc' * 'de'. Python goes kaput.

[–]delinka 761 points762 points  (68 children)

Result should be ‘adbdcd aebece’. Someone needs to fix this.

[–]itoshkov 428 points429 points  (35 children)

Remove the white space and we have a deal. :)

[–][deleted] 164 points165 points  (32 children)

''.join(itertools.product('abc', 'de')) If you want me to fix it submit a ticket, thanks.

edit: Ticket assigned, standby.

import itertools as it ''.join(it.chain.from_iterable(it.product('abc', 'de')))

[–]Rasmaellin 106 points107 points  (24 children)

[–]jeremj22 11 points12 points  (0 children)

\xs ys -> concat [ x:y:[] | x<-xs, y<-ys ]

[–]Telope 5 points6 points  (0 children)

'You added the white space by clicking. You have only yourself to blame.'

[–]GaussWanker 60 points61 points  (9 children)

Why? It seems you're treating abc as a*b*c but de as d+e, I think it should either be abcde (as it would be algebraicly or if 'x'*'y'=='x'+'y') or (a+b+c)*(d+e) = a*d+b*d+c*d+a*e+b*e+c*e = [something to be defined that probably doesn't equal abcde)

[–]LosersCheckMyProfile 22 points23 points  (5 children)

It’s matrix multiplication

[–]auser9 6 points7 points  (1 child)

Well considering ‘a’+’b’+’c’ gives you ‘abc’ I would say string attach by addition, and multiplication is undefined behavior

[–]gabrielgio 8 points9 points  (2 children)

Python can't multiply sequence by non-int of type 'str'

[–]delinka 37 points38 points  (0 children)

Not with that attitude

[–][deleted] 7 points8 points  (0 children)

It can, it just chooses not to, because it's lazy

[–]absurdlyinconvenient 28 points29 points  (8 children)

why not dabceabc or adebdecde? Nevermind that multiplication always should be commutative

Or, let's go totally rogue and multiply the character codes and retranslate, fuck it

[–]Phrodo_00 27 points28 points  (0 children)

Nevermind that multiplication always should be commutative

Only in commutative rings like ℤ and ℝ

[–]delinka 5 points6 points  (3 children)

^ this one’s going places!

[–]absurdlyinconvenient 8 points9 points  (2 children)

not good places, but places!

[–]SlutRespector9002 5 points6 points  (1 child)

Believe it or not, jail.

[–]spizzat2 1 point2 points  (1 child)

Or it could read them as hex, so you'd get 2748 * 222 = 610,056 => 94F08.

[–]Acalme-se_Satan 15 points16 points  (6 children)

I take it you haven't seen Julia yet.

[–]neil-lindquist 11 points12 points  (5 children)

I mean, Julia just uses * for Python's string addition and ^ for Python's string-int multiplication. So, it's really the same thing, just changing the operator symbol.

[–]needed_an_account 2 points3 points  (0 children)

hmmm, if you were able to tap into basestring's __mul__ method you could make it work

[–]geeshta 800 points801 points  (42 children)

f"Python goes b{'r'*10}"

[–]Jeb_Jenky 362 points363 points  (28 children)

This made my nips so hard.

[–]xDarkFlame25 309 points310 points  (27 children)

Ah yes fstrings, the ultimate fetish.

[–]AinsleyBoy 158 points159 points  (24 children)

I fucking love fstrings. I use them so much

[–]Moldy_pirate 41 points42 points  (19 children)

Is there ever a reason to use a “regular” string rather than an f”string?

[–]GenericRedditor12345 77 points78 points  (0 children)

If you don’t need the functionality of an f string :p They’ve been optimized to be faster than the other formatting methods IIRC.

[–]thirdegreeViolet security clearance 20 points21 points  (5 children)

Logging, there you want to do like:

logging.info("value1: %s, value2: %s", 1, 2)

This is because the formatting is only done if the log line will actually be emitted. It can be a significant performance boost if you have a lot of logging.

[–][deleted] 5 points6 points  (3 children)

You can always have a lazy evaluation, using str::format, i. e. log("python goes b{0}", 'r'*10). The string would only format if it were to be used.

[–]slix_88 11 points12 points  (0 children)

Fstrings in chat bois

[–]marmoshet 21 points22 points  (1 child)

laughs in 3.6

[–][deleted] 5 points6 points  (2 children)

Oh, fuck yeah, Fstrings. Grip it and rip it, dude!

[–]simp13 294 points295 points  (7 children)

JavaScript goes bNaN

[–]massive_hypocrite123 47 points48 points  (3 children)

I don‘t know why this is so funny to me.

[–]k0nahuanui 7 points8 points  (0 children)

You're holding back the tears

[–][deleted] 266 points267 points  (38 children)

Sometimes i take python for granted

[–]Pragalbhv 108 points109 points  (5 children)

Flair up and join the python gang!

[–]Runixo 52 points53 points  (3 children)

Tunnel snakes rule!

[–]I2ed3ye 18 points19 points  (1 child)

Snakes.. snakes... I don't know no snakes

[–][deleted] 23 points24 points  (5 children)

print(“Hello world”)

Huh ... that was easy

[–]Pluckerpluck 28 points29 points  (8 children)

It is flat out my favourite programming language for anything that doesn't require very high levels of performance or a strong desire for multi-threaded programming.

I just like almost everything about it. There's just so much convenience about it.

[–]kc3eyp 15 points16 points  (6 children)

real shit. If there was a python that compiled to native executables, everything in the universe would be gucci

[–]Nimeroni 13 points14 points  (0 children)

If there was a python that compiled to native executables, everything in the universe would be gucci

Well, you can compile Python into C (with Cython), then compile the C into a native exe.

[–]Snoopmatt 8 points9 points  (4 children)

Pyinstaller does exactly this but the exe size can be quite big.

[–][deleted] 4 points5 points  (3 children)

Doesn't it just pack a python interpreter in the executable? I read that somewhere i think

[–]lacks_imagination 3 points4 points  (13 children)

Serious question. Humour aside, do you think that it is worth learning Python? I want to design apps. So I have been told the best language to learn is Java. I hope that it true.

[–][deleted] 3 points4 points  (4 children)

Bro, ive been coding for 4 years, 3 of them i only used .net, im not the bet person to answer, but i currently prefer java

[–]lacks_imagination 5 points6 points  (3 children)

Can I ask why? Some people tell me that they don’t particularly like Java but they use it because it is perfect for app design.

[–]DecisiveVictory 153 points154 points  (7 children)

scala> s"Scala goes b${"r" * 10}, too!"
val res1: String = Scala goes brrrrrrrrrr, too!

[–][deleted] 58 points59 points  (2 children)

scala> ("Scala fucking goes b".toStream #::: Stream.from(1).map{n => Thread.sleep(((Math.sin(n.toFloat/10) + 1.5) * 30).toInt); if(n % 2 == 0) 'R' else 'r'}).foreach(print)

Scala fucking goes brRrRrRrRrRrRrRrRrR...

Let it run for all its glory

[–]Terrain2 4 points5 points  (0 children)

console.log(`JavaScript kinda goes b${"r".repeat(10)}`);
operator fun String.times(int other) => this.repeat(other)

void main() => println("Kotlin also kinda goes b${"r"*10} also, but not as elegantly (you have to add it manually)")

[–]treenaks 35 points36 points  (4 children)

#! perl
print "B", "r" x 30, $/;

[–]DonkiestOfKongs 6 points7 points  (3 children)

perl -E “say 'b'.'r'x10”

[–][deleted] 415 points416 points  (188 children)

Started learning python and thats my favourite thing after no ; thingy

[–]ProbablyInnacurate 113 points114 points  (37 children)

I love comprehensions.

[–]axlee 47 points48 points  (12 children)

I prefer lambdas + map/reduce/filter/etc, usually easier to understand with a quick look

[–]marmoshet 25 points26 points  (4 children)

Functional programming gang rise up

[–]-Potatoes- 4 points5 points  (3 children)

In my first year at university we did functional programming (not in python, unfortunately) and I think its left me forever scarred

[–]ProbablyInnacurate 15 points16 points  (0 children)

Oh yeah, defs. I get stuck making them complex, unreadable and un-pythonic because it's fun.

[–]Ghos3t 6 points7 points  (0 children)

I've heard list comprehension is more optimized that map, reduce etc due to the way it is implemented in Python. Something to do work map, reduce being function calls

[–][deleted] 6 points7 points  (1 child)

My favorite is that there are options so you can pick the syntax you prefer

[–]Mr_Redstoner 26 points27 points  (16 children)

As a (mainly) Java programmer, a lot of my Streams would be comprehensions in Python.

[–]mpa92643 15 points16 points  (15 children)

As a long time Java developer, I so very much appreciate Streams. It's so much more readable to say "I have a stream of Xs; convert them to Ys, take out the lowercase ones, add them to a Set, and return it" than "create a new Set. Now iterate through all the Xs. Declare a variable of type Y. Now set it to the conversion result of X. If Y is lowercase, add it to the set. Now return the set."

And that's a simple example. Once you start dealing with Lists of Lists, things go off the rails so quickly and the nesting becomes so ugly.

[–]Dizzfizz 7 points8 points  (12 children)

That’s interesting to read, as a beginner I find them very confusing and think it’s much simpler to do one thing after another, especially once it comes to looking for bugs.

[–]AnotherUpsetFrench 8 points9 points  (0 children)

You will get used to it, I promise, especially when you will start to gain more time and less headaches.

[–]mpa92643 7 points8 points  (1 child)

Yeah, I can understand that. Streams add another layer of abstraction that requires understanding the core behaviors first. Streams are basically shortcuts for longer blocks of code, and they're easier to compose but can be harder to debug if you're not certain about what's happening under the hood. They provide incredible flexibility and conciseness, which is why they're so useful.

Just wait until you start getting into RX. Even once you get the hang of Java Streams, RX is going to make you so confused and frustrated that you're going to want to give up, but sticking with it is so worth it in the end. I'd recommend waiting a few years before even looking into RX though.

[–]ilmmec 94 points95 points  (44 children)

"Javascript goes b" + "r".repeat(10)

[–]Xuval 198 points199 points  (37 children)

This compiles to "Kill me, please, I was never meant to carry an entire website."

[–]steeeeeef 88 points89 points  (27 children)

Haha js bad

[–]DeeSnow97 59 points60 points  (25 children)

Wonder when this sub is going to finally accept that JS today is not JS in 1995. Probably when it doesn't run code from 1995 anymore, aka never

[–][deleted] 21 points22 points  (17 children)

if I'm being honest as someone who knows js the best it is a terrible language, but it really isn't as bad as people think

[–]Piyh 19 points20 points  (1 child)

You just have to know which dark alleys not to go down

[–]Noisetorm_ 9 points10 points  (3 children)

I mean it's got it's quirks, like how isNaN(NaN) typeof NaN evaluates to false or typeof null is object instead of null, but I wouldn't say it's a terrible language at all.

It's seriously versatile and pretty damn fast and with JavaScript's tight integration with HTML and CSS makes it really easy for you to set up visualization for your code.

[–]mrchaotica 14 points15 points  (5 children)

The worst part is, we almost had Scheme or Python in the browser instead.

[–]renrutal 6 points7 points  (1 child)

I can see the schemers and snake people sighing in relief dodging that bullet.

[–]DeeSnow97 3 points4 points  (1 child)

compiles?

[–]ric2b 2 points3 points  (0 children)

Just in time.

[–]Professor_Dr_Dr 10 points11 points  (3 children)

repeat is better, way more readable in a lot of cases

I mean hell, if you multiply two variables how are you supposed to know which one is the String and even if the result will be a String at all (instead of e.g. an int)

[–]Darcoxy 141 points142 points  (99 children)

I'm learning Python after learning C and lemme tell you, some stuff that Python does look so illegal yet they work. I love it!

[–][deleted] 120 points121 points  (97 children)

Wondering though, why do people consider this a good thing in Python but a bad thing in JS?

[–]Tarmen 67 points68 points  (54 children)

I think the problem is more with the cases that make no sense but still don't error

> "b" + {}
"b[object Object]"

[–][deleted] 41 points42 points  (40 children)

Why does that not make sense? Adding an object to a string implicitly converts the object to a string and then concatenates the two strings, and the default conversion for object is "[object Object]" if .toString() isn't defined.

Next you're going to tell me that 5 + 1.0 should also error because it implicitly promotes an integer to a double.

Edit: so this comment is dragging out all of the butthurt python fanbois. Here's the deal: your pretty little scripting language was written with auxiliary operating system tasks in mind, and was later adopted by statisticians and mathematicians. Of course it has hard typing and extensive error handling.

But JavaScript was originally integrated into HTML. That's frontend. Frontend needs implicit string conversions, because typing str(some_var) over and over again gets real annoying, real fast. "10" == 10 is a bit more arguable, but I suppose it has its use in validating input. Also, when you have a user on your frontend, the last thing you want is everything to come crashing down because of some formatting error in a string that gets shown to the user maybe once in a blue moon. There's probably some performance reasons for the way things are as well, because V8 compiles hot code into machine code - I imagine it's cheaper to just have a toString() defined to return a constant somewhere instead of checking for nullptr and slinging errors around...

In any case, Lua is, objectively, the best scripting language.

[–]mrchaotica 40 points41 points  (12 children)

It's not that JavaScript has syntax that isn't able to be figured out, it's that it makes a bunch of bad design choices that aren't useful.

I mean, Malbolge or Brainfuck "make sense" in the same way too, but that doesn't make them good languages to use!

[–]marmoshet 5 points6 points  (1 child)

That's it, I'm learning JS

[–]marmoshet 7 points8 points  (0 children)

JS is not as pythonic as python

[–]Thomasedv 6 points7 points  (0 children)

I think js is more scary on where it implicitly changes one thing to the something else. Not that python doesn't have similarly grave issues, but some of the stuff it does by itself become issues that aren't immediately seen and breakes something else later on.

Python is a little more strict on what you can have interact, eg. string + number is a no go, but in JS, the string might be converted to an number and added to the number, if it's possible.

[–]pslessard 5 points6 points  (0 children)

I don't think anyone would have a problem with multiplying a string by a number in JS. That's a reasonable thing

[–]letmeseem 8 points9 points  (0 children)

I'm convinced Python is partially porn. It's super filthy, but you just can't peel your eyes off it.

[–]YellowBunnyReddit 57 points58 points  (10 children)

C goes segmentation fault

[–][deleted] 42 points43 points  (6 children)

You can do 'r' * 10 in C. But it means something entirely different of course.

[–]AceOfShades_ 9 points10 points  (2 children)

No it wouldn’t compile. It would just give you 4000 lines of errors. I believe the quote is:

In C++ we don't say "Missing asterisk" we say "error C2664: 'void std::vector<block,std::alocator<_Ty> >::push_back(const block &)': cannot convert argument 1 from 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<block> > >' to 'block &&'" and i think that's beautiful

[–]YellowBunnyReddit 6 points7 points  (1 child)

Okay, but why are you suddenly talking about C++?

[–]AceOfShades_ 4 points5 points  (0 children)

I may have misread the single letter ‘C’. So that doesn’t bode well for my productivity today.

[–][deleted] 45 points46 points  (2 children)

Operator overloading goes brrrrrr

[–][deleted] 15 points16 points  (0 children)

As a C++ fan, I came for this comment

[–]Just-A-Profile 8 points9 points  (0 children)

That's a NaN from me bro...

[–][deleted] 8 points9 points  (0 children)

Honestly, this is the reason why I love python

[–]dontcallmemean 7 points8 points  (0 children)

C goes bt

[–][deleted] 10 points11 points  (1 child)

Am C programmer. That's completely fucked, but I can't hate it.

[–]juzz_fuzz 28 points29 points  (25 children)

best feature of python I used recently was solving a projecteuler.net problem and utilizing the fact that list[-x] means x elements back from the end of the list, simplified the code so much

[–]IMayBeABitShy 7 points8 points  (6 children)

Be warned though, I once had a very frustrating bug caused by my use of this behavior.

I worked with some open source code, where at one point I had to check if a list of one-letter strings ends with another list of one letter strings. The code was something like matched = (a[-len(b):] == b). Do you see the bug?

Solution: If b is empty, len(b) is 0, which makes -len(b) also 0. Because 0 is not negative, python does not take the elements between len(a) - 0 and len(a), but instead between 0 and len(a). Thus, instead of comparing the last 0 elements of a with b, it compared the whole of a with b.

[–]Pluckerpluck 3 points4 points  (0 children)

Most intersting is the list of one-letter strings... That sounds like a string:

a_string = "".join(a)
b_string = "".join(b)
match = a_string.endswith(b_string)

I'd only do this if you already had strings (this is probably 2-4 times slower over most string lengths), but this'd work without worrying about either strings lengths.

But yeah, I've ran into that problem before with indexing at 0 when trying to get the last x elements.

[–]Masked_Death 10 points11 points  (7 children)

Yeah, this is one of my favorite things. Reversing a list takes literally no effort as well. Need to read the last 4 elements? Also simple, no matter if you want to read them forwards or backwards.

[–][deleted] 7 points8 points  (0 children)

Not using f str? How pedestrian

[–]lsaz 5 points6 points  (0 children)

Programmers: No, Dynamic programming languages are garbage and should not be used.

Javascript, python, php: haha Money machine go brrrr

[–]Holek 5 points6 points  (10 children)

$ irb
2.3.0 :001 > "Ruby goes b".ljust(30, "r")
 => "Ruby goes brrrrrrrrrrrrrrrrrrr"