Craft and publish engaging content in an app built for creators.
NEW
Publish anywhere
Post on LinkedIn & Mastodon too. More platforms coming soon.
Make it punchier ๐
Typefully
@typefully
We're launching a Command Bar today with great commands and features.
AI ideas and rewrites
Get suggestions, tweet ideas, and rewrites powered by AI.
Turn your tweets & threads into a social blog
Give your content new life with our beautiful, sharable pages. Make it go viral on other platforms too.
+14
Followers
Powerful analytics to grow faster
Easily track your engagement analytics to improve your content and grow faster.
Build in public
Share a recent learning with your followers.
Create engagement
Pose a thought-provoking question.
Never run out of ideas
Get prompts and ideas whenever you write - with examples of popular tweets.
@aaditsh
I think this thread hook could be improved.
@frankdilo
On it ๐ฅ
Share drafts & leave comments
Write with your teammates and get feedback with comments.
NEW
Easlo
@heyeaslo
Reply with "Notion" to get early access to my new template.
Jaga
@kandros5591
Notion ๐
DM Sent
Create giveaways with Auto-DMs
Send DMs automatically based on engagement with your tweets.
And much more:
Auto-Split Text in Posts
Thread Finisher
Tweet Numbering
Pin Drafts
Connect Multiple Accounts
Automatic Backups
Dark Mode
Keyboard Shortcuts
Creators loveย Typefully
150,000+ creators andย teams chose Typefully to curate their Twitter presence.
Marc Kรถhlbrugge@marckohlbrugge
Tweeting more with @typefully these days.
๐ Distraction-free
โ๏ธ Write-only Twitter
๐งต Effortless threads
๐ Actionable metrics
I recommend giving it a shot.
Jurre Houtkamp@jurrehoutkamp
Typefully is fantastic and way too cheap for what you get.
Weโve tried many alternatives at @framer but nothing beats it. If youโre still tweeting from Twitter youโre wasting time.
DHH@dhh
This is my new go-to writing environment for Twitter threads.
They've built something wonderfully simple and distraction free with Typefully ๐
Santiago@svpino
For 24 months, I tried almost a dozen Twitter scheduling tools.
Then I found @typefully, and I've been using it for seven months straight.
When it comes down to the experience of scheduling and long-form content writing, Typefully is in a league of its own.
Luca Rossi ๊ฉ@lucaronin
After trying literally all the major Twitter scheduling tools, I settled with @typefully.
Killer feature to me is the native image editor โ unique and super useful ๐
Visual Theory@visualtheory_
Really impressed by the way @typefully has simplified my Twitter writing + scheduling/publishing experience.
Beautiful user experience.
0 friction.
Simplicity is the ultimate sophistication.
Queue your content inย seconds
Write, schedule and boost your tweets - withย noย need forย extra apps.
Schedule with one click
Queue your post with a single click - or pick a time manually.
Pick the perfect time
Time each post to perfection with Typefully's performance analytics.
Boost your content
Retweet and plug your posts for automated engagement.
Start creating a content queue.
Write once, publish everywhere
We natively support multiple platforms, so that you can expand your reach easily.
Check the analytics thatย matter
Build your audience with insights that makeย sense.
Writing prompts & personalized postย ideas
Break through writer's block with great ideas and suggestions.
Never run out of ideas
Enjoy daily prompts and ideas to inspire your writing.
Use AI for personalized suggestions
Get inspiration from ideas based on your own past tweets.
Flick through topics
Or skim through curated collections of trending tweets for each topic.
Write, edit, and track tweetsย together
Write and publish with your teammates andย friends.
Share your drafts
Brainstorm and bounce ideas with your teammates.
NEW
@aaditsh
I think this thread hook could be improved.
@frankdilo
On it ๐ฅ
Add comments
Get feedback from coworkers before you hit publish.
Read, Write, Publish
Read, WriteRead
Control user access
Decide who can view, edit, or publish your drafts.
๐ So, don't cry now in this thread we are going to see how the sort() method works behind the scenes.
๐ฏ My main focus is on how this "sort" method works behind the scenes.
๐ง In short, we are going to see multiple examples, so that you can easily understand.
let's go...๐ฅ
๐ก Overview of sort( )
โ The sort method allows us to sort the elements of the array.
โ It changes the position of the elements in the original array, in other words, the sort method mutates the original array.
โ By default, it sorts the array items in ascending order, which means the smallest first and largest value will be the last one.
โ The sort method "typecasts" the elements into strings and compares the strings to determine the order of the elements.
๐ก Example 1:
โ Suppose, if we want to sort only the "small" characters of the array, it will print as expected.
Right?๐
๐ก Example 2:
โ Now, if we want to sort only the "capital" characters of the array, it will also print the expected result.
Right?๐
๐ก Example 3:
โBut what happens if we sort through the mixed cases of the characters?๐ค
โน๏ธ This time it's returned with an unexpected result.
Right?๐
โWho is the culprit here? Let's see an example. Then we will see the work behind the scene.
๐ก Example 4:
โ Suppose we want to sort an array that contains the number of elements.
โน๏ธ But this time it's also returned with an unexpected result.
Right?๐
Let's find out the culprit...๐
๐ค Culprit Of Example 3:
โ Actually, it is working just fine because it compares the ASCII(unicode value) of the letters.
๐ Have a look at the code snippet๐
โ The character code of "E" is the smallest in the array. That's why it will be sorted first, then U(85), and so on.
๐ค Culprit Of Example 4:
โ The above logic also applies here, so the character code of 0(48) is the smallest in the array. That's why it will sort first, then 1000(49), and so on.
๐ค But what is the solution?...
๐ก Solution: "compareFunction"
โ Yes, to resolve this problem we need to pass a "compareFunction" to the sort() method.
โ The sort( ) method accepts an optional argument which is a "compareFunction" that compares 2 elements of the array.
โ But, if we omit the "compareFunction" the sort() method sorts the elements on the basis of Unicode values.
โ The sort( ) method sorts elements on the basis of the returned value of the compare function.
๐ก Syntax of compareFunction:
โ The compare function also accepts 2 arguments, which are 2 continuous elements of the array.
โ Here, "a" and "b" are the 2 continuous elements of the array.
๐ก Solution of Example 3:
1. We need to convert all elements in the same case.
2. Check,
๐ if "charCode of a" > "charCode of b" then return any positive value.
๐ if "charCode of a" < "charCode of b" then return any negative value.
๐ if same then return 0 means nothing.
Still do not understand?๐
Don't worry...
Just say "AAG LAGA DENGE AAG" ๐ฅ๐
๐ก Solution of Example 4:
โ a = 1st item
โ b = 2nd item
๐ Just we have to check:
โ if a > b = yes, then we need to SWAP, that's why we have to pass any +ve value.
โ if b > a = yes, then we don't need to SWAP, that's why we have to pass any -ve value.
โ else a === b, it will be the same number, we don't need to do anything.
๐ That's all ladies and gentlemen, that's it ๐งโ๐ป
๐ก Refactor the solution of Example 4:
Suppose,
๐ค a = 20 , b = 1000
โ If I subtract both of them, a - b = A negative number, right?
Now,
๐ค a = 1000, b = 500
โ If I subtract both of them, a - b = A positive number, right?
And,
๐ค a = 500, b = 500
โ If I subtract both of them, a - b = 0, right?
๐ง So, can I replace the above logic with ๐ฎ - ๐ฏ?
Yes, we can do it ๐๐
โ Finally, if you want to sort an array with descending order then you have to only change the order of the return value with ๐ฏ - ๐ฎ
๐ I hope you like my way of presenting the topics, so in return, I need your support by just following me and sharing it with your audience.