Tag: Syntax

JavaScript’s Shorthand Syntax That Every Developer Should Know

About three decades ago, every web page was static and showed the same content for all visitors. Later, web servers generated dynamic content based on the current user via an early server-side web development concept called CGI (Common Gateway Interface). The invention of JavaScript initially helped...

The ViewBuilder Attribute

Difficulty: Beginner | Easy | Normal | Challenging This article has been developed using Xcode 14.2, and Swift 5.7.2 Prerequisites: You need to be able to code in Swift, perhaps using Playgrounds and be able to use SwiftUI You might need to know something about res...

19 Sweet Python Syntax Sugar for Improving Your Coding Experience

Making a function work is one thing. Implementing it with precise and elegant code is another. As the Zen of Python mentioned, “beautiful is better than ugly.” A good programming language like Python will always provide appropriate syntax sugar to help developers write elegant code...

13 Fun Python Scripts

Hello friend, I hope you’re doing well! I’m writing to you today because I am truly passionate about sharing my knowledge and helping others learn. If you’ve found my articles to be valuable and they’ve made a positive impact on your life, I would be overjoyed if you could su...

The Art of Prompt Design: Use Clear Syntax

This is the first installment of a series on how to use guidance to control large language models (LLMs), written jointly with Marco Tulio Ribeiro. We’ll start from the basics and work our way up to more advanced topics. In this post, we’ll show that having clear s...

The Syntax Chronicles: (Wo)Men in Tech?

I have to admit that around 2010, I was a real loser when it came to the practical use of computers etc. Although I had been fascinated by everything to do with tech since the 90s, I was totally proud when I managed to make a Power Point presentation, even though I had already created my first websi...

The Science of Syntax, Chapter 9 (Review)

Introduction: This chapter focuses on non-local dependencies, which occur when syntactic parts interact across a distance. We will discuss Binding Theory, which sheds light on the distribution of referring phrases. This topic revolves around the concept of c-command, which is important to syntax....

Chinese Activity Verbs: Light Verb Syntax and Adnominalization

I am a professional linguist and I do research in theoretical linguistics, mainly formal syntax and historical/comparative linguistics. I am also a simultaneous translator/interpreter and a language teacher, and my language specialisations include Indo-European, Latin, Greek, Romance (especially Spa...