Workflow
Programming Languages
icon
Search documents
From Learner To Leader | Khushi Khurana | TEDxJeffersonU
TEDx Talks· 2025-09-30 14:58
Two years ago, I was a typical 12-year-old glued to a screen. Loved using technology, but completely uninterested in how it worked. Learned to code.No way. Today I'm 14, have learned eight programming languages, led six coding camps, and taught 120 kids how to code. So what changed.What happened in those two years. The answer, it didn't happen all at once. It happened piece by piece.Think back to a time where you didn't try something new just because it seemed challenging. For me, that was coding. I remembe ...
不同程序员的老婆生了娃,他们的代码长啥样?笑死!
菜鸟教程· 2025-05-05 10:49
Core Viewpoint - The article humorously illustrates how different programming languages would approach the creation of a newborn baby, showcasing the unique characteristics and quirks of each language's syntax and style [1][3][6]. Group 1: Python - The Python version emphasizes precision, capturing the birth time down to the millisecond, reflecting the meticulous nature of a programmer [1]. - It includes a welcoming function for the newborn, demonstrating object-oriented programming principles [3]. Group 2: Java - The Java implementation is characterized by a heavy use of getter methods, highlighting the verbosity often associated with Java code [5]. - It also includes a welcoming message, similar to the Python version, showcasing the commonality of this feature across languages [3]. Group 3: JavaScript - The JavaScript version introduces randomness in determining the baby's gender, adding a playful element to the code [6]. - It also includes a whimsical welcome function, reflecting the dynamic nature of JavaScript [6]. Group 4: C++ - The C++ version focuses on memory management, with the newborn being allocated on the stack to prevent memory leaks, showcasing the language's emphasis on performance [8]. Group 5: Go - The Go implementation is noted for its strict struct alignment, reflecting the language's focus on simplicity and clarity [10]. Group 6: PHP - The PHP version uses an array to represent the newborn, indicating a more flexible and less structured approach compared to other languages [10]. - It features an anonymous function for the welcome message, which is a common practice in PHP [10]. Group 7: Bash - The Bash script version humorously suggests that the newborn will likely become an operations and maintenance professional, reflecting the practical use of shell scripting [11]. Group 8: HTML - The HTML representation of the newborn suggests a static structure, with a recommendation to add animations, indicating a focus on front-end design [15]. Group 9: C - The C version uses the var keyword, indicating a more modern and flexible approach to variable declaration, typical of C developers [15].