
Author, YouTuber (150k+ subs), University Lecturer
Sweden
Joined February 2010
- Tweets2.4K
- Following428
- Followers2.1K
- Likes833
Christopher Okhravi retweeted
I owe a lot to resources like this channel for the 👇
youtube.com/@ChristopherOkhr…
and to people like @chrokh @aarondfrancis @jeffrey_way @PovilasKorop who make these ideas accessible.
Christopher Okhravi retweeted
The Object Oriented Way by Christopher Okhravi (PhD) @chrokh is the featured book on the Leanpub homepage! #ComputerProgramming
About the Book
Have you ever wondered why there are so many rules in object oriented programming?
I asked myself that question a decade ago. This book is the result of everything I’ve learned since.
I'm Christopher Okhravi (PhD), a Senior Lecturer at Uppsala University and a YouTuber with over 150,000 followers. I’ve spent the last ten years decoding OOP — so you don’t have to.
This is a practical, language-agnostic guide to OOP. It gives you mental models to reason about complexity and choose the right abstraction at the right time.
I use it in my own teaching. Now, it can be yours.
Find it on Leanpub!
Christopher Okhravi retweeted
The Object Oriented Way by Christopher Okhravi (PhD) is the featured book on the Leanpub homepage! #ComputerProgramming #books #ebooks #programming @chrokh
Have you ever wondered why there are so many rules in object oriented programming?
I asked myself that question a decade ago. This book is the result of everything I’ve learned since.
Find it on Leanpub!
Christopher Okhravi retweeted
The Object Oriented Way: How To Solve Problems by Christopher Okhravi (PhD) is the featured book on the Leanpub homepage! @chrokh #ComputerProgramming #books #ebooks
How do we solve problems using objects?
That question is the north star of this book. While we happen use C# for all examples in this book, that language is merely a means and not an end. The purpose of this book is to teach the *fundamental ideas in contemporary object oriented programming*.
Find it on Leanpub!
Christopher Okhravi retweeted
You need a plan.
There isn't any other way.
Because if you don't have one, society does, and they've been planning your life for decades:
thedankoe.com/letters/the-fa…
Christopher Okhravi retweeted
The Object Oriented Way by Christopher Okhravi (PhD) is on sale on Leanpub! Its suggested price is $25.00; get it for $17.50 with this coupon: leanpub.com/sh/LRhMVcxA @chrokh #ComputerProgramming
Christopher Okhravi retweeted
The Object Oriented Way by Christopher Okhravi (PhD) is on sale on Leanpub! Its suggested price is $25.00; get it for $17.50 with this coupon: leanpub.com/sh/1jAUbvzI @chrokh #ComputerProgramming
Christopher Okhravi retweeted
Pro-tip: Real freedom is not found when you make millions, retire, or have all your bills paid; real freedom begins the moment zero f*cks are given.
Maximum f*cks given explodes as a teenager and declines with age.
May you get to ZERO as fast as possible.
Christopher Okhravi retweeted
Now he is making a lot more sense
Some general responses to the comments on my last tweet, which blew up way more than I expected:
- Another way to phrase what I said: all else being equal, dynamically typed languages have a higher ceiling and lower floor than statically typed languages. Most of the negative responses were about that lower floor, which I agree with. This is why dynamically typed languages require more skill.
- Many strong teams use statically typed languages, and many weak teams use dynamically typed ones. I didn't say otherwise.
- Not all dynamically typed languages are equal. Clojure/ClojureScript are much better languages than Javascript for reasons that have nothing to do with typing, and a strong team will tend to choose a better language.
- Static types do not reduce the number of tests that are needed in any meaningful way, as they do nothing to help sample the input space of a function/component/system and assert on its effects. At best they eliminate the occasional assertion on an output type, but that's needed a lot more rarely than you think.
- Static typing does not give a performance advantage. If there's a performance difference between languages, it's not because of static typing.
Christopher Okhravi retweeted
I usually agree with @chrokh but I strongly disagree with what he says in this clip
Static typing isn’t superior, nor is dynamic typing. They are just different ways to design systems
Static typing does not replace any good tests, only tests you probably shouldn’t have written in the first place
I used to think the opposite, but right now I like them both for different reasons
youtube.com/shorts/QuCpEa7_v…
Christopher Okhravi retweeted
The Object Oriented Way: How To Solve Problems leanpub.com/the-object-orien… by Christopher Okhravi (PhD) is the featured book on the Leanpub homepage! leanpub.com @chrokh #ebooks #ComputerProgramming #bookboost
Christopher Okhravi retweeted
Quote of the day:
“The functional programming people can be quite smug, but they’re often right. It’s harder to do a good job with object-oriented programming, and easier to do a good job with functions that operate on immutable data.”
(from evanhahn.com/programming-bel…)
Christopher Okhravi retweeted
With many 🧩 dropping recently, a more complete picture is emerging of LLMs not as a chatbot, but the kernel process of a new Operating System. E.g. today it orchestrates:
- Input & Output across modalities (text, audio, vision)
- Code interpreter, ability to write & run programs
- Browser / internet access
- Embeddings database for files and internal memory storage & retrieval
A lot of computing concepts carry over. Currently we have single-threaded execution running at ~10Hz (tok/s) and enjoy looking at the assembly-level execution traces stream by. Concepts from computer security carry over, with attacks, defenses and emerging vulnerabilities.
I also like the nearest neighbor analogy of "Operating System" because the industry is starting to shape up similar:
Windows, OS X, and Linux <-> GPT, PaLM, Claude, and Llama/Mistral(?:)).
An OS comes with default apps but has an app store.
Most apps can be adapted to multiple platforms.
TLDR looking at LLMs as chatbots is the same as looking at early computers as calculators. We're seeing an emergence of a whole new computing paradigm, and it is very early.
Christopher Okhravi retweeted
If your salary was $500,000 per day, every day (weekends/holidays included) since The Great Pyramid in Egypt was built...
..and you spent *nothing*...
..you'd still have LESS money today than the U.S Government borrowed in March to operate through Sep of 2024...🤯
#bitcoin
Christopher Okhravi retweeted
6. Not the most amazing statue, but definitely an amazing story.
In Istanbul, Turkey, they made a statue to honor the famous stray cat (Tombili) that used to sit in this position and watch the passers by.
Christopher Okhravi retweeted
I saw so many typos in a creator's post recently. It went viral—millions of views. Typos everywhere.
I let out a sigh of relief. I knew he didn’t use ChatGPT. Or did he?
It got me thinking...
If people think your content, copy, or designs were made by AI, you've already lost.
Humans crave the human touch, authenticity, and the real deal. It's human nature.
I'm starting to see brands use AI in a pretty tasteless way.
The CMO thinks no-one can tell that those images were created by DALL-E or Midjourney. People can tell.
AI is powerful. It can create, predict, and optimize. But it lacks soul.
When your audience sniffs out AI, trust plummets. And that's pretty hard to regain.
In the future, the best brands/creators will be those who master AI, not just use it.
They'll blend tech and humanity so seamlessly that you can't tell where one ends and the other begins.
But let's not forget, human creators can hit crazy scale without AI.
I think of Moots, a high-end bicycle builder that handcrafts titanium bikes tailored to each rider's specs.
They are the anti-mainstream bike and do $5M+ revenue per year. Very bespoke, made-in-the-USA bikes.
My point is being human-made, not mainstream, is also an opportunity to create profitable businesses.
When everyone is zigging, zagging is an equally good strategy.
Prediction: we'll see an influx of "human made" products, content etc.
And they might end up being even more profitable than the AI-first ones.
Moots carved out a niche by being authentic and personal in a world of mass production.
So here's my current thinking on this whole topic:
Imagine a world where AI does the heavy lifting, freeing you to add the magic.
That’s the sweet spot. But it's a fine line. Lean too hard on AI, and you risk becoming a faceless algorithm.
Someone will respond to this and say:
"well, AI is going to get so good no one will notice".
I'm a/cc as the next Twitter person. But I believe humans will always play a huge role in the equation.
Because ultimately we're selling to other humans.
The winners of this era....
They'll be the storytellers who use AI as a tool, not a crutch.
They'll deliver human experiences enhanced by technology.
Nail that blend, and you're unstoppable.
Christopher Okhravi retweeted
I found a guy on YouTube who asks 60, 70, 80, and 90-year-olds:
• Their biggest mistakes
• What they used to worry about
• One piece of advice for their younger self
Wildly enough, they all pretty much mention the same things.
Here are my top 7:
Readers added context they thought people might want to know
This is an advertisment diguised as life advice.
x.com/brianbeers/sta…























