
Works at #ArchiKoder , Author of #ArchiTest Javascript Developer, Infosec Enthousiast Loves Typescript!! Object thinker https://nitter.gq/t.co/7x74shoVs5
France
Joined July 2010
- Tweets286
- Following554
- Followers57
- Likes1.5K
How could you design a #reusable component if you don't actually reuse it!?
1
25
0x5afe retweeted
Right back to doing fun stuff with graphs:
mr-r3b00t.github.io/crime-ma…
perspective matters
How a piece of paper changes your perspective.
nitter.gq/i/status/1848643227034…
2
19
0x5afe retweeted
In 1991, one man coded for 28 hours straight without sleep.
What he created transformed both gaming and aerospace engineering.
The story of DOOM is wilder than you think.
Here's how one coding marathon changed technology forever:
0x5afe retweeted
Problem: Your code base probably contains a lot of copy/pasted code, but it's hard to find.
Solution: jscpd
jscpd is a command line tool that finds copy/pasted code and reports specific duplicated lines.
Works for over 150 languages.
Example report:
0x5afe retweeted
By all means, make your code readable. It's relevant when you look at code in the small. But you should not rely on reading as the primary means to reason about a system.
Code is best seen as data. It can be interesting to read it occasionally, but for the most part it’s more appropriate to approach it through dedicated tools that summarize it.
Why is that important or even needed at all?
Today, developers spend most of their time reading code. They do that because they want to understand enough to figure out how to change the system. Reading is the way they extract information from the system. As code is data too, we can build tools that extract the information we care about from it.
#MoldableDevelopment
0x5afe retweeted
Heard another “good” programming tip. If you don’t have an interface your code is not clean because how can you refactor in the future?
0x5afe retweeted
"Don't talk to strangers" also applies to software development.
You hear from good programmers about having "loosely coupled" classes.
But what does this mean?
The amount of coupling refers to how often changes in class A force changes in class B.
Tight coupling means the two classes often change together.
Loose coupling means they are mostly independent.
We even have a law for this, "Law of Demeter," formulated in 1987.
This is how you translate this Law to your class design:
- An object should only call methods of the objects it creates.
- It can call methods on objects passed to it as parameters.
- It can call methods on any direct component object.
Here are the 3 main benefits:
Reduced Coupling: Changes in one area are less likely to impact other areas.
Better Modularity: Isolated modules are easier to understand and maintain.
Easier to Test: Fewer component dependencies make it easy to test them.
Each unit should only talk to its friends; don't talk to strangers!
How do you avoid bad coupling?
0x5afe retweeted
1995: Mudge published "How to Write Buffer Overflows", one of the first papers about buffer overflow exploitation. Afterwards, Mudge sent a copy to Aleph One, who later wrote "Smashing the Stack For Fun and Profit" in 1996. Seminal security paper to seminal security paper.
0x5afe retweeted
Clean code isn’t just about readability; it’s about maintainability. Code that’s easy to understand is easier to evolve.
0x5afe retweeted
Below, I modified the data loader to return all 8.8M rows for 1979–2022 instead of only showing the 106,004 for 2022. Collisions are a strong proxy for population (and traffic) density, but the detail is striking.
0x5afe retweeted
Most people have no idea how large Starship is. It's the world's most powerful rocket ever made.
0x5afe retweeted
the FAA finally granted a launch license for starship flight 5 for tomorrow, october 13th.
we gonna witness the chopsticks attempt to catch superheavy. as Elon often says, success isn’t guaranteed but excitement is :)
meanwhile we can enjoy this game 🥢
starshipthegame.spacex.com



























