Transform existing types by applying operations to each property. Useful for adding prefixes/suffixes to properties, creating key-value pairs from objects, etc.
interface User {
name: string;
age: number;
}
type ReadOnly<T> = { readonly [P in keyof T]: T[P] };
const readOnlyUser: ReadOnly<User> = {
name: 'Kurt',
age: 27
};
// readOnlyUser.name = 'Chester';
// Error: Cannot assign to 'name' because it is a read-only property
Useful for manipulate and transform data from the API or before passing data to another component, with different data types.
➖➖➖➖➖➖
#TypeScript
Please open Telegram to view this post
VIEW IN TELEGRAM
👍11❤2🤯1
➖➖➖➖➖➖
➖➖➖➖➖➖
#softwareEngineering #security
Please open Telegram to view this post
VIEW IN TELEGRAM
👍18❤1
✨ Explaining Software Development Methods Comic
➖➖➖➖➖➖
📚 Article: [here]
➖➖➖➖➖➖
#softwareEngineering #softwareDevelopment #comic
🖥 Follow @devDastan for more content.
➖➖➖➖➖➖
➖➖➖➖➖➖
#softwareEngineering #softwareDevelopment #comic
Please open Telegram to view this post
VIEW IN TELEGRAM
👍8❤4🍌4😎1
As a developer you will code 20% of your time. You should excel at coding nonetheless, but it won't be enough to be great
Making sure everything around you runs smoothly and has forward momentum
Build projects, try out frameworks, build stuff on the side. Keeps the spark alive
It's important to know why your code does what it does, too many abstractions nowadays that rarely someone thinks below the level of their language e.g JS devs not thinking about the engine that runs their code
Knowing how your code impacts not only your individual system but other parts of the business/application/life
Recharging away from your monitor makes you a better programmer
Knowing important tech numbers to approximate calculations when making decisions when programming
➖➖➖➖➖➖
➖➖➖➖➖➖
#softwareEngineering #softSkill
Please open Telegram to view this post
VIEW IN TELEGRAM
👍10❤3🤯3
➖➖➖➖➖➖
➖➖➖➖➖➖
#softwareEngineering #softSkill
Please open Telegram to view this post
VIEW IN TELEGRAM
👍11❤2🍌1
➖➖➖➖➖➖
➖➖➖➖➖➖
#softwareEngineering #softSkill
Please open Telegram to view this post
VIEW IN TELEGRAM
👍13❤4🤯1
<div onclick="console.log('first div')">
<div onclick="console.log('second div')">
<button onclick="console.log('button')">
Click!
</button>
</div>
</div>
The deepest nested element that caused the event is the target of the event. You can stop bubbling by event.stopPropagation
➖➖➖➖➖➖
#JavaScript #Quiz
Please open Telegram to view this post
VIEW IN TELEGRAM
🤯5👍4❤3
I’ll stick to regular hours and take breaks to prevent burnout. As I adjust to Booz Allen Hamilton’s schedule, I’ll optimize my routine.
Breaks outdoors are essential. I enjoy the nearby park for walks, clearing my mind, and playing Pokémon Go with friends.
A comfortable chair and desk setup are key. I focus on good posture and regular stretching to stay comfortable and focused.
Setting daily goals with tools like Trello keeps me organized. I mix in activities like the gym and socializing to stay refreshed.
Adapting to a new industry is challenging. I’m focusing on continuous learning and effective time management to balance work and learning.
I’m embracing the learning curve with a positive mindset, knowing discomfort leads to growth. Staying flexible and proactive is my approach.
➖➖➖➖➖➖
➖➖➖➖➖➖
#softwareEngineering #softSkill
Please open Telegram to view this post
VIEW IN TELEGRAM
👍6❤5😎3
It has three main layers:
The Transport Layer provides encryption, integrity, and data protection to ensure secure communication between the client and server.
The Authentication Layer verifies the identity of the client to ensure that only authorized users can access the server.
The Connection Layer multiplexes the encrypted and authenticated communication into multiple logical channels.
➖➖➖➖➖➖
➖➖➖➖➖➖
#softwareEngineering #network
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3👍2🤯1
➖➖➖➖➖➖
➖➖➖➖➖➖
#JavaScript
Please open Telegram to view this post
VIEW IN TELEGRAM
👍5
Advantages: Enhances SEO, improves initial page load performance.
Disadvantages: More complex to implement due to dual rendering paths.
Usage: Best for applications that benefit from both SEO and rich client-side interactivity.
Advantages: Flexibility to use the best rendering method for each application part, optimizing performance.
Disadvantages: Increased complexity in configuration and potential overhead in maintaining different rendering paths.
Usage: Ideal for large applications with diverse content needs (dynamic, static, interactive).
Advantages: Faster initial load time, better SEO, simplified debugging, and improved accessibility.
Disadvantages: Higher server resource requirements and potentially slower subsequent page loads.
Usage: Suitable for content-heavy sites where SEO and initial rendering speed are critical.
Advantages: Lower server load, simpler deployment, and dynamic interfaces.
Disadvantages: Slower initial load, poorer SEO, and reduced accessibility for some users.
Usage: Best for interactive single-page applications where SEO is not a priority.
Advantages: High performance, enhanced security, and reduced server load.
Disadvantages: Not suitable for sites requiring frequent updates.
Usage: Ideal for websites with static content, such as blogs and documentation.
Advantages: Combines the benefits of static generation with flexibility for content updates, maintaining high performance.
Disadvantages: More complex to set up and manage compared to traditional SSG.
Usage: Perfect for sites that need regular content updates but also want the performance benefits of static rendering.
➖➖➖➖➖➖
➖➖➖➖➖➖
#nuxt #vue
Please open Telegram to view this post
VIEW IN TELEGRAM
❤5👍2
➖➖➖➖➖➖
➖➖➖➖➖➖
#ide #news
Please open Telegram to view this post
VIEW IN TELEGRAM
❤6👍2
✨ What gives programmers feelings of power
➖ P.S. I have actually removed more lines of code than writing throughout my career!
➖➖➖➖➖➖
#softwareEngineering #softwareDevelopment #fun
🖥 Follow @devDastan for more content.
➖➖➖➖➖➖
#softwareEngineering #softwareDevelopment #fun
Please open Telegram to view this post
VIEW IN TELEGRAM
👍15😎7
➖➖➖➖➖➖
➖➖➖➖➖➖
#javaScript #react
Please open Telegram to view this post
VIEW IN TELEGRAM
❤7👎1
➖➖➖➖➖➖
➖➖➖➖➖➖
#AI #LLM #MCP
Please open Telegram to view this post
VIEW IN TELEGRAM
❤5👍1
➖➖➖➖➖➖
➖➖➖➖➖➖
#systemDesign #softwareEngineering
Please open Telegram to view this post
VIEW IN TELEGRAM
❤5👍1😎1
➖➖➖➖➖➖
➖➖➖➖➖➖
#systemDesign #softwareEngineering
Please open Telegram to view this post
VIEW IN TELEGRAM
👍3❤2
This media is not supported in your browser
VIEW IN TELEGRAM
// Inefficient: Repeatedly resizing the array
let arr = [];
for (let i = 0; i < 10000; i++) {
arr.push(i);
}
// Efficient: Using a pre-sized array
let arr2 = new Array(10000);
for (let i = 0; i < 10000; i++) {
arr2[i] = i;
}
➖➖➖➖➖➖
➖➖➖➖➖➖
#javaScript #performance #softwareEngineering
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3👍2
➖➖➖➖➖➖
➖➖➖➖➖➖
#softwareEngineering
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4😎1
➖➖➖➖➖➖
➖➖➖➖➖➖
#JavaScript
Please open Telegram to view this post
VIEW IN TELEGRAM
❤13👍5😎1