- ตัวดำเนินการ
-
เรียนรู้
เรียน Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ เรียน AIโครงข่ายประสาท ML และ LLM ตั้งแต่ศูนย์ เรียน C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ เรียน C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET เรียน Matplotlibกราฟเส้น แท่ง กระจาย และวงกลม พร้อมตัวแสดงภาพแบบโต้ตอบ เรียน RustOwnership, trait, การจัดการข้อผิดพลาด และ thread เรียน GoSlice, interface, goroutine และ channel อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++ เขียนโปรแกรมสำหรับเด็ก เรียนเขียนโปรแกรมผ่านการเล่น!
- โจทย์ใหม่
- สำหรับครูใหม่
- อัปเดต
- เลี้ยงกาแฟสักแก้ว
Struct และ Interface
Struct, method, pointer, interface, embedding, error และ generics
- บทเรียน โจทย์ 1 ข้อ Structs Group related values into your own type with named fields.
- บทเรียน โจทย์ 2 ข้อ Methods and Receivers Attach functions to a type and choose between value and pointer receivers.
- บทเรียน โจทย์ 2 ข้อ Pointers Use & and * to share a value instead of copying it.
- บทเรียน โจทย์ 2 ข้อ Interfaces Describe behavior with an interface that any type can satisfy.
- บทเรียน โจทย์ 2 ข้อ Struct Embedding and Composition Reuse fields and methods by embedding one struct in another.
- บทเรียน โจทย์ 1 ข้อ Temperature Converter Convert between Celsius and Fahrenheit with your own number types.
- บทเรียน โจทย์ 2 ข้อ Error Handling Return errors as values, wrap them with context and check them with errors.Is and errors.As.
- บทเรียน โจทย์ 1 ข้อ Bank Account with Errors Model deposits and withdrawals that can fail with your own error types.
- บทเรียน โจทย์ 1 ข้อ Generics Write one function or type that works with many types using type parameters.