for-coder – Telegram
for-coder
442 subscribers
244 photos
79 videos
26 files
182 links
Download Telegram
#quiz

let x = 5;
console.log(x++ + ++x);
👍1
what is the output of the code above
Anonymous Quiz
33%
12
19%
10
37%
11
4%
13
6%
Undefined
console.log(x);
What is the output of the above the code?
Anonymous Quiz
10%
“11”
2%
12
32%
“125”
4%
7
52%
TypeError
This media is not supported in your browser
VIEW IN TELEGRAM
"Why always motivation?🙂‍↔️
Sometimes, pain is good "

Have a nice weekend, I'm out for now 🚶‍➡️
😢1😭1
📝 Top 10 Clean Code Rules


🕐 2m read time
🚫 No Code Comments – Strive for self-explanatory code; let the code speak for itself.
🗑 Delete Dead Code – Remove unused or unnecessary code to keep things tidy.
🔬 Unit Test Boundaries – Ensure each unit is well-tested and behaves as expected.
👍 Use Positive Conditionals – Write conditions that are easy to understand and avoid negatives.
📚 Adhere to Standard Guidelines – Follow industry conventions and best practices.
🔠 Consistent Naming – Use meaningful and consistent names for variables, methods, etc.
⚖️ Avoid Complexity – Keep things simple and easy to understand.
🚨 Use Exceptions Instead of Return Codes – Rely on exceptions for handling errors rather than return codes.
✂️ Keep Methods Small – Each method should do one thing and do it well.
👮 Apply the Boy Scout Rule – Always leave the code cleaner than you found it.
These principles will help you write clean, maintainable code! 💻💡

»»»»For More ««««
#መልካም_የፆም_ጊዜ

let fasting = false;

const startDate = new Date();
startDate.setHours(0, 0, 0, 0); //(12:00 AM)

const endDate = new Date("2025-04-20T03:00:00");

const durationInMilliseconds = endDate - startDate;


fasting = true;
console.log("ፆም/fasting started.");

// setTimeout to handle the end of the fasting period
setTimeout(() => {
fasting = false; // Set fasting to false after 55 days
console.log("ስለፍቅሩ ሲል ከሙታን ተለይቶ ተነስቷል"); // Log the message
console.log("ፆም/fasting ended.");
}, durationInMilliseconds);


If you don't understand this code በደንብ ፁሙ #ሎል_lol
😁6👍2
Anybody else's IG feed going nuts? 🔫☠️💥
👍1🥴1
Ramadan Mubarak🥳🥳🎉🎉

የ1446 ዓ.ሂ የረመዳን ወር ጨረቃ በመታየቷ፤ ነገ ቅዳሜ የካቲት 22/2017 የወሩ የመጀመሪያ ቀን እንደሚሆን ታውቋል፡፡ 🌙

Wishing you a wonderful Ramadan!
2
const obj1 = { id: 1 };
const obj2 = { id: 1 };
const obj3 = obj1;

console.log(obj1 === obj2);
console.log(obj1 === obj3);
What is the output of the above code
Anonymous Quiz
23%
false true
10%
true false
50%
true true
13%
false false
4%
error
1
እንኳን ለ129ኛው 🏆 የዓድዋ ድል በዓል አደረሳችሁ! 🇪🇹🎉

Congratulations on the 129th anniversary of the Victory of Adwa! ✊🏾🔥

⚔️ Battle of Adwa 🏹🏛️
#W's in the chat
🔥3
Check out this guy lol
Forwarded from ክብነሽ
Learning C++ the right way 😭😁🦍
Please open Telegram to view this post
VIEW IN TELEGRAM
🤣10😁2
🔥 Lynx: A React Native Killer? 🔥

🕐 1 min read time
ByteDance just dropped Lynx, a Rust-powered, multi-platform framework that could shake up mobile dev. It ditches React Native’s JavaScript bridge bottlenecks for a dual-threaded UI engine, promising faster load times, smoother UI, and true CSS support.

Pros: Blazing fast, framework-agnostic (React, Vue, Svelte), real CSS, Rust-powered.
Cons: New & unpolished, small ecosystem, Windows issues.

Lynx looks promising but isn’t quite there yet. Will it replace React Native? Maybe. Are you trying it? 🚀

read_more
To all the incredible women coders lighting up the world like moonlight on a northern street—keep shining, keep rising, and keep owning your path. 🌙💪 Happy Women's Day!
💜🎉
👍2
var a = 10;
function foo() {
console.log(a);
var a = 20;
}
foo();
What is the output of the above code
Anonymous Quiz
47%
10
15%
Reference error
29%
20
8%
Undefined
This media is not supported in your browser
VIEW IN TELEGRAM
Been off lately… had to train my finger to hit Tab professionally 🏋️‍♂️⌨️
#coding_meme@forcoder #codingmeme