#codingtip search results

@JosePaumard just released the 300th #codingtip on the @java channel, please do yourself a favour and check out this shorts series with your own cup of coffee youtube.com/shorts/gGumOIM…

Simon_Verhoeven's tweet card. Special Episode 300 - Cracking the Java Coding Interview #javalangu...

youtube.com

YouTube

Special Episode 300 - Cracking the Java Coding Interview #javalangu...


Commenting your code isn't bad. Comments explain why code is written a certain way. But If you're commenting to describe what the code does, consider rewriting it for better readability. #CleanCode #CodingTip


Did you know that CSS was first proposed by a developer named Håkon Wium Lie in 1994? His proposal was the first step toward separating content from presentation on the web! What are your thoughts on it? Let me know in the comments. #CSS #CodingTip #WebDev #TechFact #FrontEnd

hiMuzammil's tweet image. Did you know that CSS was first proposed by a developer named Håkon Wium Lie in 1994? His proposal was the first step toward separating content from presentation on the web!

What are your thoughts on it? Let me know in the comments.

#CSS #CodingTip #WebDev #TechFact #FrontEnd

In C++, {value} only sets the first element. {0} is special — it initializes all elements to zero, but {nonzero} does NOT. Subtle difference, but very important in array-heavy algorithms! #Cp #100DaysOfCode #CodingTip #LeetCode #DSA #Programming #DevCommunity #LearnInPublic


Most developers store everything in a database. But not all data belongs there. Local storage saves with no expiry. Session storage clears when the tab closes. Both make sites faster and smoother. Do you use local or session storage more? #WebDevelopment #JavaScript #CodingTip

md_ishtiak_dev's tweet image. Most developers store everything in a database.
But not all data belongs there.

Local storage saves with no expiry.
Session storage clears when the tab closes.
Both make sites faster and smoother.

Do you use local or session storage more?

#WebDevelopment #JavaScript #CodingTip

🐍 Monday Python Tip Are you confused about data structures? Think simple: 1. List → order matters 2. Dict → fast lookups 3. Set → no duplicates 4. Tuple → unchangeable #Python #CodingTip #pythonprogramming #pythonlearning


🔥 ¡Lo nuevo en .NET 10: Shuffle()! 🔀 Reordena aleatoriamente tus listas al azar con facilidad. ¡Perfecto para juegos o datos random! 🎲💻 #DotNet #CodingTip

dotnetES's tweet image. 🔥 ¡Lo nuevo en .NET 10: Shuffle()! 🔀

Reordena aleatoriamente tus listas al azar con facilidad. 
¡Perfecto para juegos o datos random! 🎲💻 
#DotNet #CodingTip

Code injection is like inviting someone to dinner, but instead of a side dish, they rewrite the menu. 📜 CWE-94 happens when apps trust external input without validation, giving attackers the chance to execute malicious code. 🌐 Sanitize everything. #CWE #appsec #codingtip

SecurityJourney's tweet image. Code injection is like inviting someone to dinner, but instead of a side dish, they rewrite the menu. 📜

CWE-94 happens when apps trust external input without validation, giving attackers the chance to execute malicious code.

🌐 Sanitize everything. 
#CWE #appsec #codingtip

Tired of verbose launch files? 😩 Try `ros2 launch <package> <launch_file> param:=value` for quick parameter overrides on the command line! Debug your ROS 2 nodes faster! #ROS2 #robotics #codingtip


💡 #CodingTip Want cleaner JS? Use ".map()" instead of "for" loops to transform arrays. const nums = [1, 2, 3]; const doubled = nums.map(n => n * 2); // [2, 4, 6] Simple, readable, powerful. #Coding #JavaScript #WebDev


Use CSS `clip-path` to create unique image shapes and layouts! Try `clip-path: polygon(50% 0%, 0% 100%, 100% 100%);` for a triangle. #CSS #WebDev #CodingTip


Most developers store everything in a database. But not all data belongs there. Local storage saves with no expiry. Session storage clears when the tab closes. Both make sites faster and smoother. Do you use local or session storage more? #WebDevelopment #JavaScript #CodingTip

md_ishtiak_dev's tweet image. Most developers store everything in a database.
But not all data belongs there.

Local storage saves with no expiry.
Session storage clears when the tab closes.
Both make sites faster and smoother.

Do you use local or session storage more?

#WebDevelopment #JavaScript #CodingTip

🔥 ¡Lo nuevo en .NET 10: Shuffle()! 🔀 Reordena aleatoriamente tus listas al azar con facilidad. ¡Perfecto para juegos o datos random! 🎲💻 #DotNet #CodingTip

dotnetES's tweet image. 🔥 ¡Lo nuevo en .NET 10: Shuffle()! 🔀

Reordena aleatoriamente tus listas al azar con facilidad. 
¡Perfecto para juegos o datos random! 🎲💻 
#DotNet #CodingTip

Did you know that CSS was first proposed by a developer named Håkon Wium Lie in 1994? His proposal was the first step toward separating content from presentation on the web! What are your thoughts on it? Let me know in the comments. #CSS #CodingTip #WebDev #TechFact #FrontEnd

hiMuzammil's tweet image. Did you know that CSS was first proposed by a developer named Håkon Wium Lie in 1994? His proposal was the first step toward separating content from presentation on the web!

What are your thoughts on it? Let me know in the comments.

#CSS #CodingTip #WebDev #TechFact #FrontEnd

When using TypeScript, leverage union types for function parameters when your logic needs to handle multiple types. It keeps your code flexible and safe! 🛠️✨ #TypeScript #CodingTip #WebDev #DevCommunity Share your union type use cases below!👇🚀

geezy_tim's tweet image. When using TypeScript, leverage union types for function parameters when your logic needs to handle multiple types. It keeps your code flexible and safe! 🛠️✨ #TypeScript #CodingTip #WebDev #DevCommunity Share your union type use cases below!👇🚀

Just learned a neat trick in #TypeScript! 🚀 Use union types for better error checking and autocomplete. It's like having a conversation with your code! Who else loves when their editor just 'gets' them? 😄👨‍💻 #CodingTip #WebDev #JavaScript #DevLife

geezy_tim's tweet image. Just learned a neat trick in #TypeScript! 🚀 Use union types for better error checking and autocomplete. It&apos;s like having a conversation with your code! Who else loves when their editor just &apos;gets&apos; them? 😄👨‍💻 #CodingTip #WebDev #JavaScript #DevLife

💙 FLUTTER TIP 💙 Localizing your app's title is as easy as using the onGenerateTitle property in MaterialApp. 🌍Make your app friendly for a global audience by translating your app! 🌏 #flutterDev #codingTip Here's how:

thierrydd's tweet image. 💙 FLUTTER TIP 💙 Localizing your app&apos;s title is as easy as using the onGenerateTitle property in MaterialApp. 🌍Make your app friendly for a global audience by translating your app! 🌏 #flutterDev #codingTip Here&apos;s how:

𝐅𝐢𝐧𝐝 𝐄𝐥𝐞𝐦𝐞𝐧𝐭𝐬 𝐢𝐧 𝐀𝐫𝐫𝐚𝐲'𝐬 𝐨𝐫 𝐭𝐲𝐩𝐞𝐝𝐀𝐫𝐫𝐚𝐲'𝐬... #dailytips #codingtip #CodeNewbie

Shahnwa34717289's tweet image. 𝐅𝐢𝐧𝐝 𝐄𝐥𝐞𝐦𝐞𝐧𝐭𝐬 𝐢𝐧 𝐀𝐫𝐫𝐚𝐲&apos;𝐬 𝐨𝐫 𝐭𝐲𝐩𝐞𝐝𝐀𝐫𝐫𝐚𝐲&apos;𝐬...

#dailytips #codingtip #CodeNewbie

#CodingTip: In C, 'int main()' and 'int main(void)' both start the show, but the latter says 'no need for stuff in the brackets!' Share which one you like better! 🌟🎈 #C #CodingChoice #ALX_SE #ALX

adeyinkacodes's tweet image. #CodingTip: In C, &apos;int main()&apos; and &apos;int main(void)&apos; both start the show, but the latter says &apos;no need for stuff in the brackets!&apos;

 Share which one you like better! 🌟🎈 

#C #CodingChoice #ALX_SE #ALX

Just realized you can use #TypeScript's utility types to avoid repetitive code! 🧩 Instead of defining new interfaces for slight variations, try `Partial<T>` or `Readonly<T>` to modify existing ones. Super handy & keeps the code DRY! 💡 #CodingTip #WebDevelopment #DevCommunity

geezy_tim's tweet image. Just realized you can use #TypeScript&apos;s utility types to avoid repetitive code! 🧩 Instead of defining new interfaces for slight variations, try `Partial&amp;lt;T&amp;gt;` or `Readonly&amp;lt;T&amp;gt;` to modify existing ones. Super handy &amp;amp; keeps the code DRY! 💡 #CodingTip #WebDevelopment #DevCommunity

🚀 JavaScript Quick Tip! 🚀 Wondering how to check if an object is empty? Forget the length property, go for Object. keys(obj).length === 0. Quick, easy & effective! #JavaScript #CodingTip

CodeBrainery's tweet image. 🚀 JavaScript Quick Tip! 🚀 
Wondering how to check if an object is empty? 
Forget the length property, go for Object. keys(obj).length === 0. Quick, easy &amp;amp; effective! #JavaScript #CodingTip

I learned about the flat method in #javascript today from one of my students. I've heard of it before, but never seriously used it. The flat method creates a new array with all sub-array elements concatenated into it recursively up to a specified depth. #codingtip #FrontEnd

ANaroyehun's tweet image. I learned about the flat method in #javascript today from one of my students.

I&apos;ve heard of it before, but never seriously used it.

The flat method creates a new array with all sub-array elements concatenated into it recursively up to a specified depth.
#codingtip #FrontEnd

Tip: Use list comprehensions to simplify your loops! Instead of: a = [1, 2, 3, 4, 5] res = [] for val in a: res.append(val * 2) print(res) Do: a = [1, 2, 3, 4, 5] res = [val * 2 for val in a] print(res) # Output: [2, 4, 6, 8, 10] Cleaner and faster! #Python #CodingTip

alishah730's tweet image. Tip: Use list comprehensions to simplify your loops!
Instead of:
a = [1, 2, 3, 4, 5]
res = []
for val in a:
    res.append(val * 2)
print(res)
Do:
a = [1, 2, 3, 4, 5]
res = [val * 2 for val in a]
print(res)  # Output: [2, 4, 6, 8, 10]
Cleaner and faster! #Python #CodingTip

Loading...

Something went wrong.


Something went wrong.


United States Trends