- شیءگرا: تو روبی همهچیز یه شیء محسوب میشه، حتی اعداد و رشتهها.
- سینتکس راحت: کدهای روبی ساده و مثل جمله عادی به نظر میان.
- انعطافپذیر: با روبی میتونی به راحتی کدهات رو تغییر بدی و بهشون چیزهای جدید اضافه کنی.
- کتابخونههای زیاد: روبی پر از کتابخونههای آماده است که بهت کمک میکنه سریعتر کد بزنی.
- میکسینها: به جای ارثبری پیچیده، میتونی ویژگیها رو به راحتی به کلاسها اضافه کنی.
- توسعه وب: روبی برای ساخت سایتها خیلی معروفه، مخصوصاً با فریمورک روبی آن ریلز (Ruby on Rails).
- اسکریپتنویسی: برای کارهای خودکار و سریعنوشتن اسکریپتها عالیه.
- پردازش دادهها: میشه ازش برای جمعآوری و تحلیل دادهها استفاده کرد.
#ruby
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥16⚡3❤🔥2😁1
اگر فکر میکنید شغلتون هیچ ربطی به زبان انگلیسی و برنامه نویسی نداره و از الان به فکرشون نیستید، ۵ سال دیگه دو دستی توی سرتون خواهید زد.
#programming #english #job
☕️ @CodeExplore
#programming #english #job
Please open Telegram to view this post
VIEW IN TELEGRAM
⚡27🔥10❤🔥4😁3💔1
خروجی این کد چیه؟
#quiz #python
@CodeExplore
x = 10
def outer():
x = 5
def inner():
nonlocal x
x = 20
inner()
return x
print(outer())
#quiz #python
@CodeExplore
خلاصه که اگر باباتون برنامه نویسه مواظب باشید درست بشمارید 😂
پ.ن: orphanage=یتیم خانه
#fun
☕️ @CodeExplore
پ.ن:
#fun
Please open Telegram to view this post
VIEW IN TELEGRAM
😁42⚡3🔥2
1. Visual Studio Code (VS Code) - حدود 50% تا 60%
2. Visual Studio - حدود 15% تا 20%
3. IntelliJ IDEA - حدود 10% تا 15%
4. PyCharm - حدود 5% تا 10%
5. Eclipse - حدود 3% تا 5%
6. Android Studio - حدود 2% تا 4%
7. Xcode - حدود 2% تا 4%
8. NetBeans - حدود 1% تا 2%
9. PhpStorm - حدود 1% تا 2%
10. Sublime Text - حدود 1% تا 2%
#ide
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥19⚡5❤🔥2
#python #online
Please open Telegram to view this post
VIEW IN TELEGRAM
❤🔥14🔥6⚡3
#site #font
Please open Telegram to view this post
VIEW IN TELEGRAM
Google Fonts
Browse Fonts - Google Fonts
Making the web more beautiful, fast, and open through great typography
🔥8⚡4❤🔥1😁1
کدام نوع داده بیشترین مقدار ممکن رو میتونه ذخیره کنه؟(در زبان c)
Anonymous Quiz
11%
char
10%
int
65%
long
13%
float
❤🔥11⚡2🔥1
Please open Telegram to view this post
VIEW IN TELEGRAM
😁48⚡1🔥1💔1
#site #document #javascript
Please open Telegram to view this post
VIEW IN TELEGRAM
javascript.info
The Modern JavaScript Tutorial
Modern JavaScript Tutorial: simple, but detailed explanations with examples and tasks, including: closures, document and events, object oriented programming and more.
🔥19⚡2❤🔥1
#css #loader
Please open Telegram to view this post
VIEW IN TELEGRAM
❤🔥10🔥4⚡1
متغیر debug در پایتون ⌨️
🔹 میدونستین یک متغیر پیشفرض توی پایتون وجود داره که وقتی رانش میکنید True رو برمیگردونه؟
🔺 و اگر کدتون رو این شکلی اجرا کنید، متغیر false میشه:
#python #trick #debug
☕️ @CodeExplore | <OneDiagram/>
if __debug__ :
print("Hello World")
else:
print("GoodBye World")
python -O script.py
#python #trick #debug
Please open Telegram to view this post
VIEW IN TELEGRAM
⚡15❤🔥2🔥2
حالا این مقدار رو به صورت معمولی بریزین تو متغیر دیگه بیشتر از این نمیشه و برای مقادیر بزرگ تر ( خداییش داریم؟ ) میتونیم از تایپ BigInt استفاده کنیم
اول از همه شما این لاگ هارو ببینین:
console.log(9007199254740991 + 1); // 9007199254740992
console.log(9007199254740991 + 2); // 9007199254740992
حالا اگه ما بخایم از تایپ BigInt استفاده کنیم میایم و یه n به اخر عددمون اضافه میکنیم تا تبدیل به تایپ BigInt بشه:
let num = 1234567890123456789012345678901234567890n;
console.log(typeof num) //BigInt
و الان دیگه هرچی خاستی عدد بزن داداش
اینم بگم شما حتی میتونین یه عدد کوچیک رو هم BigInt کنین، مثلا:
let num = 10n;
console.log(typeof num) //BigInt
حالا infinity چیه؟ اینه:
alert( 1 / 0) // Infinity
خب امیدوارم از این تایپ هایی که فکر نکنم تا اخر عمرتون به کارتون بیان لذت برده باشین
#js #numbers #types
Please open Telegram to view this post
VIEW IN TELEGRAM
❤🔥14⚡3🔥1😁1
#site #vue
Please open Telegram to view this post
VIEW IN TELEGRAM
Vue-Marquee
Vue Marquee Slider
Simple and easy-to-use component for Vue that allows you to create customizable marquees with just a few lines of code
🔥11⚡4❤🔥1
خروجی این کد چیه؟
#python #quiz
☕️ @CodeExplore
L = [3, 1, 2, 4]
T = (\'A\', \'b\', \'c\', \'d\')
L.sort()
counter = 0
for x in T:
L[counter] += int(x)
counter += 1
break
print(L)
#python #quiz
Please open Telegram to view this post
VIEW IN TELEGRAM
⚡8🔥2❤🔥1
خروجی کد بالا چیه؟
Anonymous Quiz
15%
[66,97,99,101]
16%
[66,68,70,72]
15%
[66,67,68,69]
54%
ValueError
🔥8⚡1
پارگراف با قابلیت ادیت در HTML 🖐
میدونستین میتونین توی html ، پاراگراف قابل ویرایش(توسط کاربر) داشته باشین؟
به این شکل:
#html #p
☕️ @CodeExplore
میدونستین میتونین توی html ، پاراگراف قابل ویرایش(توسط کاربر) داشته باشین؟
به این شکل:
<p contenteditable="true">
CodeExplore
</p>
#html #p
Please open Telegram to view this post
VIEW IN TELEGRAM
⚡20❤🔥6🔥1😁1