Get Mystery Box with random crypto!

Learn Programming تعلم البرمجة

Logo of telegram channel sudevelopers — Learn Programming تعلم البرمجة L
Logo of telegram channel sudevelopers — Learn Programming تعلم البرمجة
Channel address: @sudevelopers
Categories: Education
Language: English
Subscribers: 14.29K
Description from channel

Get started on your programming journey with our comprehensive tutorials and resources. Learn how to code and develop your skills in various languages with our beginner-friendly platform.
Contact @tellmy_bot

Ratings & Reviews

3.75

4 reviews

Reviews can be left only by registered users. All reviews are moderated by admins.

5 stars

1

4 stars

1

3 stars

2

2 stars

0

1 stars

0


A
Anas687

Excellent content!


The latest Messages 4

2023-06-21 16:29:25 السلام عليكم ورحمة الله و بركاته، #تحدي مرحبًا أصدقاء القناة!، متى نستخدم "while" ومتى نستخدم "do while" ومتى نستخدم "for" في برمجة الحاسوب. إذكر مثالا عن استخدام كل منها في التطبيقات العملية (يمكنك كتابة كود ايضا) يمكنك المشاركة في التحدي بالتعليقات…
1.2K views13:29
Open / Comment
2023-06-21 16:15:39 تسمية المتغيرات والدوال في البرمجة

تُعتبر تسمية المتغيرات والدوال من العوامل الحاسمة في عملية كتابة الشفرة البرمجية. الاختيار الجيد للأسماء يساهم في فهم وصيانة الشفرة بشكل أفضل. في هذا المقال، سنستعرض بعض النصائح وأفضل الممارسات لتسمية المتغيرات والدوال في عملية البرمجة.

1. استخدم أسماء واضحة وصريحة:
اختر أسماء تعبر عن طبيعة المتغير أو وظيفة الدالة بشكل واضح. ابتعد عن استخدام أسماء غامضة أو اختصارات غير واضحة. على سبيل المثال، بدلاً من استخدام "x" أو "var1" أو "fnc1"، استخدم أسماء معبرة وواضحة مثل "age" أو "salary" أو "calculateAverage".

2. اتبع قواعد وتعليمات اللغة البرمجية:
اطلع على قواعد وتعليمات اللغة البرمجية التي تستخدمها واتبعها بدقة. قد تتضمن هذه القواعد الأحرف المسموح بها والأحرف المحجوزة وأفضل الممارسات الخاصة بتسمية المتغيرات والدوال في تلك اللغة. على سبيل المثال، في Python يُفضل استخدام snake_case لتسمية المتغيرات (مثل my_variable) بينما في JavaScript يُفضل استخدام camelCase (مثل myVariable).

3. اجعل الأسماء واضحة ومعبرة:
انتقِ أسماء توضح الغرض والوظيفة المرجوة من المتغير أو الدالة. اختر أسماء تسهل فهم طبيعة البيانات التي تمثلها المتغيرات والمهام التي تقوم بها الدوال. هذا يساعد على قراءة الشفرة وفهمها بوضوح.

4. تجنب استخدام أسماء متشابهة:
تجنب استخدام أسماء متشابهة للمتغيرات والدوال. اختر أسماء فريدة ومميزة لكل عنصر في الشفرة. هذا يساعد في تجنب الالتباس وتسهيل عملية الصيانة في المستقبل.

5. احترام قواعد النمط:
عند العمل في فريق أو مشروع مشترك، احترم قواعد النمط المعتمدة في الشفرة. اتفق مع الفريق على أساليب تسمية مشتركة واتبعها بدقة. هذا يعزز التواصل وسهولة التعاون في المشروع.

6. استخدم التعليقات:
استخدم التعليقات لشرح ووصف المتغيرات والدوال بشكل أكثر تفصيلاً. قد تكون هناك تعليمات واضحة تفسر الغرض المطلوب والمدخلات والمخرجات المتوقعة. هذا يسهم في فهم سريع وسهل لشفرة البرنامج ويوفر وقتًا في عملية الصيانة.

إذا كانت لديك أي توجيهات أو قواعد موضوعية يجب اتباعها في المشروع، يجب مراعاتها أيضًا في عملية تسمية المتغيرات والدوال.

آمل أن يكون هذا المقال مفيدًا لك في تسمية المتغيرات والدوال في عملية البرمجة! قم بممارسة هذه الممارسات وتحسين مهاراتك في كتابة الشفرة النظيفة والقابلة للفهم.

فضلا شارك المنشور مع اصدقاءك المهتمين.

@SuDevelopers | SUBSCRIBE
1.2K viewsedited  13:15
Open / Comment
2023-06-19 20:51:36 السلام عليكم ورحمة الله و بركاته،
#تحدي
مرحبًا أصدقاء القناة!، متى نستخدم "while" ومتى نستخدم "do while" ومتى نستخدم "for" في برمجة الحاسوب.
إذكر مثالا عن استخدام كل منها في التطبيقات العملية (يمكنك كتابة كود ايضا)

يمكنك المشاركة في التحدي بالتعليقات


@SuDevelopers | SUBSCRIBE
1.5K viewsedited  17:51
Open / Comment
2023-06-16 11:40:29
1.9K views08:40
Open / Comment
2023-06-16 11:40:29 عن أَنس بن مالك رضي الله عنه ،
عن النبي ﷺ قال :

((أكثِروا الصَّلاةَ عليَّ يومَ الجمُعةِ وليلةَ الجمُعةِ ؛ فمَن صلَّى عليَّ صلاةً صلَّى اللهُ عليهِ عَشرًا))

حسنه الألباني في صحيح الجامع.

[اللَّهمَّ صَلِّ وسَلِّمْ عَلَى نَبيِّنا مُحَمَّدٍ]
1.7K views08:40
Open / Comment
2023-05-30 21:05:11 May the peace, blessings, and mercy of God be upon you,

The right laptop for you depends on the use you intend to do. If you are looking for a laptop for regular use such as the Internet, editing documents and catching up on email, many mid-priced laptops will suffice for your needs. And if you want to play modern games or run heavy programs such as a video editor or deep networking and artificial intelligence software, you will need a laptop with higher specifications and better performance.

In general, you can choose a laptop that follows the following specifications:
- Core i5 or i7 processor from Intel or Ryzen 5 or Ryzen 7 from AMD
At least 8GB of random memory
Storage disk with a capacity of 256 GB or more, such as an SSD
- A separate graphics card if you plan to play games or edit video, and if not, the graphics card integrated into the processor can be used
- HD screen that works at 1080p or greater, the size of which depends on your personal preference

Some popular brands of laptops include Dell, HP, Lenovo, ASUS, Acer, and the MacBook from Apple, but you should study the available models and reviews to find the right laptop for you.

If you want to buy a laptop for programming, you should consider some of the basic specifications which include:

1. Processor: It is preferable to search for a computer that has a Core i5 or Core i7 processor from Intel or its equivalent from AMD.

2. RAM: 8GB at least, but 16GB is better for advanced programming.

3. Storage memory: It is preferable to search for a computer that has a hard disk of at least 256 GB, or an SSD hard disk, as it is much faster than a traditional HDD.

4. Graphics Card: You must have a good integrated graphics card, such as NVIDIA or AMD, as it speeds up heavy graphics processing.

5. Screen: IPS screen with a size of about 15 to 17 inches, with a resolution of 1920 x 1080 pixels.

6. Operating system: Windows, Mac or Linux operating system can be used, and whether this option is open depends on the moral strength of the device and its compatibility with the requirements of the software tools used.

7. Portability: It is preferable to look for a device in the portable and lightweight category to facilitate portability and mobility.

As for the best laptops for programming, there are many different options available on the market. Among these portable devices recommended for programming are:

1. Dell XPS 13

2. MacBook Pro

3. Lenovo ThinkPad X1 Carbon

4. HP Specter x360

5. Razer Blade Stealth

If you have a limited budget, other purchase options can be:

1. Acer Aspire 5

2. ASUS VivoBook S15

3. HP Pavilion x360

Since everyone has different software needs, the most important thing is to research and find the hardware that matches your business requirements.

Don't forget to share the post with your interested friends
@SuDevelopers | Subscribe
2.5K viewsedited  18:05
Open / Comment
2023-05-29 23:32:18 There are many different programming languages ​​​​that are suitable for beginners in the field of programming, but the best language depends on many factors, such as:

1. The goal of learning to code: If your goal is to develop mobile applications, mobile programming languages ​​such as Swift for Apple iOS and Java for Android will be the best. If your goal is web development, languages ​​like HTML, CSS, and JavaScript are best.

2. Popularity of the language: There are some programming languages ​​that are used only in certain fields, and it may be difficult to find a job in this field, while there are languages ​​that are widely used in more than one field.

3. Easy to learn: Regardless of the goal of learning to code or the popularity of the language among developers, it is also important that the language is easy to learn and allows beginners to quickly produce results.

Based on these factors, we recommend the following languages ​​as the best programming languages ​​for beginners:

1. Python: A language that is among the easiest to learn and useful for developing artificial intelligence and data processing.

2. JavaScript: It is the best entry point for web development and can be used in mobile application development as well.

3. Java: A programming language for mobile devices and can be used to develop desktop applications, server applications, and games.

4. Swift: Apple's iOS mobile programming language. It is widely used in the development of iOS applications.

5. Ruby: This language is mainly used to develop websites and web applications, and is suitable for beginners due to its ease of learning.

6. C#: A language mainly used to develop Windows desktop applications and computer games.

Unofficially, Python is the most popular choice among beginners because of its ease of learning and its wide reach in industry and science. But once you see the purpose of learning programming, you can choose the right language for you.

@SuDevelopers | Subscribe
2.0K viewsedited  20:32
Open / Comment
2023-05-26 17:14:56 ايهما تفضل استخدامه في تطوير تطبيقات الAndroid ؟ ولماذا؟

Java

Flutter

انظر التعليقات
1.8K viewsedited  14:14
Open / Comment
2023-05-21 23:19:31 May the peace, blessings, and mercy of God be upon you,
The XOR encryption and decryption process is simple and effective in some cases. It relies on performing an XOR operation (or inverted combination of bits) between the original message and the secret key to generate the encrypted message, and vice versa for decryption. The process can be explained in detail as follows:

1- When encrypting, the main steps are to perform an "XOR" operation between each letter in the original message and a letter of the secret key. For example, if the original message is 'Hello' and the secret key is '1234', the first step of the process will XOR between 'H' and '1' (i.e., between the letter and the key letter) and so on until all characters are XORed in the text.

2- After completing the XOR operation, the encrypted message is generated which is the same length as the original message and contains the result returned from the XOR operation.

3- When decrypting, the same secret key that was used in the encryption process is used to XOR again between the encrypted message and the secret key.

4- The calculated result of the XOR is used to regenerate the original message.

Although the XOR process is simple and effective in some cases, it is not secure enough for sophisticated computer cryptography, which results from the use of more secure and accurate encryption algorithms to protect sensitive data.

Encryption and decryption using XOR depends on performing an XOR operation between the original (plain) text and a secret key to encrypt it and if the process is reversed by performing an XOR operation between the ciphertext and the secret key it will be decrypted.

To apply this idea to the text "hello world" we will use the secret key "123".

To encrypt the message, we will apply the XOR operation to the key and the body as follows:

h^1 = i
e^2 = c
l^3 = o
l^1 = k
o ^ 2 = m

w^1 = v
o ^ 2 = m
r^3 = u
l^1 = k
d^2 = f

So the encrypted message will be: "icokm vmukf"

To decrypt the message, we'll perform an XOR operation between the secret key and the encrypted message:

i^1 = h
c^2 = e
o^3 = l
k^1 = l
m^2 = o

v^1 = w
m^2 = o
u^3 = r
k^1 = l
f^2 = d

So we will get the original (pronounced): "hello world".

Here's the Python code for XOR encoding and decoding:

# Encrypt using XOR
def xor_encrypt(msg, key):
encrypted = ""
for i in range(len(msg)):
encrypted += chr(ord(msg[i]) ^ ord(key[i % len(key)]))
return encrypted

# Decrypt using XOR
def xor_decrypt(encrypted, key):
decrypted=""
for i in range(len(encrypted)):
decrypted += chr(ord(encrypted[i]) ^ ord(key[i % len(key)]))
return decrypted

# Example of encoding and decoding
msg = "hello world"
key = "123"

encrypted = xor_encrypt(msg, key)
print("encrypted text: ", encrypted)

decrypted = xor_decrypt(encrypted, key)
print("original text: ", decrypted)

# Output:
# Ciphertext: icokm vmukf
# Original text: hello world

@SuDevelopers | Subscribe
2.6K viewsedited  20:19
Open / Comment
2023-05-14 08:35:55 السلام عليكم ورحمة الله و بركاته،

منشور مهم جدا يتضمن الاسئلة الاكثر شيوعا في تعلم البرمجة:

1. ما هي أفضل لغة برمجة لتعلمها؟

لا يمكن تحديد أفضل لغة برمجة لتعلمها ، لأن الإجابة على هذا السؤال تعتمد على الأهداف التي يسعى الفرد لتحقيقها ، وما هي المشاريع أو التطبيقات التي يريد تطويرها. يمكن الاختيار بين لغات البرمجة الشائعة ​​مثل Python و Java و C ++ وغيرها ، بحيث يتم اختيار اللغة الأنسب حسب الغرض من التعلم.

2. كيف يمكنني البدء في تعلم البرمجة؟

يجب البدء من الأساسيات في البرمجة ، وهي دراسة أساسيات البرمجة ومفاهيمها ، وتعلم الأدوات المستخدمة في البرمجة ، مثل محرر النصوص ومترجم اللغات. كما تتطلب عملية التعلم الخاصة بالبرمجة العملية الكثير من الإصرار والصبر والمثابرة.

3. كيف يمكنني الحصول على الخبرة العملية في البرمجة؟

يمكن الحصول على الخبرة العملية في البرمجة عن طريق التدريب العملي ، حيث يمكن المشاركة في مشاريع تطبيقية والعمل على مشاريع واقعية مع فرق عمل متنوعة ، ويمكن أيضًا تنظيم برامج تدريبية مع شركات تعمل في مجال التكنولوجيا.

4. ما هي المقارنة بين تعلم البرمجة عبر الدورات التدريبية وتعلم البرمجة عبر الكتب؟

تتباين وسائل التعلم لتعلم البرمجة ، وكل طريقة لها ميزات خاصة بها ؛ حيث أن الدورات التدريبية توفر بيئة تعليمية مثالية للتعلم عن طريق التفاعل مع المدرس والتغذية الراجعة بشكل فوري ، بينما يتميز تعلم البرمجة عبر الكتب بالتنوع والاستقلالية.

5. ما هي الأدوات اللازمة للبرمجة؟

يعتمد الأدوات اللازمة للبرمجة على اللغة التي يستخدمها الفرد، ولكن تشمل الأدوات الشائعة مثل محرر النصوص والمترجم والمحاكيات والأدوات الأخرى.

6. ما هي أساسيات البرمجة التي يجب على المبتدئين تعلمها؟

يجب على المبتدئين تعلم الأساسيات الأساسية للبرمجة ، مثل الأساسيات الرياضية والتحليلية ، تعلم بنية الجملة البرمجية والتأكد من فهم مفاهيم البرمجة المختلفة.

7. كيف يمكن للمبتدئين برمجة تطبيقات الجوال؟

يجب على المبتدئين تعلم أساسيات البرمجة المتعلقة بتطوير تطبيقات الجوال وتحديد الأدوات والبرامج التي يحتاجون إليها ، ومن ثم العمل على تطوير التطبيقات البسيطة ، وتحسين مهاراتهم عبر الممارسة المستمرة.

8. كم يستغرق من الوقت والجهد لإتقان البرمجة؟

الوقت اللازم لإتقان البرمجة يختلف من شخص لآخر ، إذ تعتمد على المستوى الحالي للمعرفة البرمجية والجدول الزمني والتفاني في التعلم والتمرين. ومع ذلك ، فإن القدرة على التعلم والتطور هي عامل رئيسي في إتقان البرمجة.

9. هل يجب علي أن أكون جيدًا في الرياضيات لتعلم البرمجة؟

لا يجب أن يكون المرء جيدًا في الرياضيات لتعلم البرمجة ، ولكن يمكن أن تساعد مهارات الرياضيات في الفهم الأفضل لبعض المفاهيم الأساسية في البرمجة ، مثل المتغيرات والدوال.

10. ما هي المجالات التي يمكنني بناء مستقبل وظيفي فيها باستخدام مهارات البرمجة؟

يمكن للفرد استخدام مهارات البرمجة لتطوير تطبيقات الويب والحوسبة السحابية والذكاء الاصطناعي والتحليل البياني والروبوتات وتطوير الألعاب والعديد من المجالات الأخرى التي تستند إلى تقنيات البرمجة.

فضلا شارك المنشور مع اصدقاءك المهتمين
انضم الى لائحة افضل القنوات التقنية والتعليمية لمزيد من الفائدة عبر الرابط:
https://t.me/addlist/ylazFkAmbvs4NWVk

@SuDevelopers
851 viewsedited  05:35
Open / Comment