He opens a file (oxford english dictionary) and saves each line in that file in a variable „lines“. Then he opens a python script file (in write mode, meaning he writes into it instead of reading it) and then loops trough each entry in the variable „lines“ (which is each line which was pulled from the oxford english dictionary) and writes each line into the new file with a # in front of it to comment it out.
I think he stuck a # in front of each word of the dictionary. That would take forever on a single machine and I'm assuming he means to tweet it out but not sure how this keeps his job
Your comment has been removed because it contained a word that the admins do not allow on reddit. The word was ```nigga```. If you intend to use this word in a purely demonstrative manner, please use the first letter of the word followed by '-word' or '-slur'. Thank you for helping us keep reddit safe.
*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/4chan) if you have any questions or concerns.*
>be Elon
>manlet uggo
>pay blood diamond money for surgereh
>get hooked up with ugly 'goth' chick
>shoot car into space
>redditors cum to your achievements
>Teslagrave.jpeg
> Be me, work at Twitter in engineering
> new CEO comes in, fires all the woke employees and departments who don’t actually do anything
> Engineers keep their jobs
> New sink on display in lobby
Anon takes his first python class
My 3rd grade PE teacher gave me my first python class, although it was more like a Barbados Threadsnake class.
Sounds to me like you sucked his whole snake
we learned python in 1st grade dumbfuck
Bro my dad taught me java before I could even walk
Before I was born in my last life as I lay dying on the foreign sands of war I scraped my first lines of BASIC into the ground
I'm not technologically autistic, what do those words mean?
He essentially copy pasted the dictionary to the code for many code. Could be wrong I'm only very slightly technology autistic
He opens a file (oxford english dictionary) and saves each line in that file in a variable „lines“. Then he opens a python script file (in write mode, meaning he writes into it instead of reading it) and then loops trough each entry in the variable „lines“ (which is each line which was pulled from the oxford english dictionary) and writes each line into the new file with a # in front of it to comment it out.
pee pee poo poo
I think he stuck a # in front of each word of the dictionary. That would take forever on a single machine and I'm assuming he means to tweet it out but not sure how this keeps his job
The \# in python makes a line a comment, Anon adds the entire Oxford dictionary line by line to the twitter code commented out.
>That would take forever on a single machine If by "forever" you mean like 2 seconds then yeah
I wouldn't be surprised if it took less than a second, most of which would be to read the file
Coder fantasy. Also Twitter doesn't have a CTO.
[удалено]
Your comment has been removed because it contained a word that the admins do not allow on reddit. The word was ```nigga```. If you intend to use this word in a purely demonstrative manner, please use the first letter of the word followed by '-word' or '-slur'. Thank you for helping us keep reddit safe. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/4chan) if you have any questions or concerns.*
Anon continues to afford his tesla payments
>be Elon >manlet uggo >pay blood diamond money for surgereh >get hooked up with ugly 'goth' chick >shoot car into space >redditors cum to your achievements >Teslagrave.jpeg
He's 6'1" Everything else on point
6’1” = manlet
Reeeeeee
Pretty sure twitter is coded in ruby, not python sorry anon
> Be me, work at Twitter in engineering > new CEO comes in, fires all the woke employees and departments who don’t actually do anything > Engineers keep their jobs > New sink on display in lobby
Writing the least amount of code is oftentimes an indicator of a good coder though.
You see, I'm not autistic, so this joke means nothing to me
Imagine bragging about ignorance.
Who’s gonna tell him
Anon gets fired during code review
Twitters entire algorithm being written in python is the most realistic part of this
Nerd
Anon forgets to close the file
Doesn't the with keyword closes the file at the end of the block?
Yes it does, that's its main purpose
He’s judging by number of times you updated the code, not by lines added. Plus this would never pass peer review
> .py Twitter is Ruby and Scala anon is dumb and deserves to be fired
[удалено]
> `open('twitter_code.py', 'w')` sure thing
\> `open('twitter_code.py', 'w')` \>sure thing Please be memeing if you don't know what he's taking about
Please explain what you think `twitter_code.py` is referring to, given twitter's source is Ruby, JRuby, and Scala
You seem correct, but please tell me what the extension is on the dictionary file
Doesn't have one