From 61317eff71a7ef806c36aadce98cea59ae6dea11 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Thu, 18 Jul 2024 10:06:37 +0200 Subject: [PATCH] Update README.markdown (swift vs. objective j) --- README.markdown | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index 1c15370be..f847eee33 100644 --- a/README.markdown +++ b/README.markdown @@ -118,9 +118,8 @@ FAQs **Q: Can I use Cappuccino on Windows/Linux?** **A:** Yes, Cappuccino can be used on Windows or Linux. While Cappuccino technology is inspired by Apple's Cocoa framework, it is designed to be platform-independent. As long as you have a modern web browser and a compatible development environment (An LTS version of Node.js and an http server), you can develop and deploy Cappuccino applications on other operating systems without any issues. -**Q: Has Apple not moved away from Objective-C and Cocoa, making this a dead end?** -**A:** While Apple has introduced Swift as a modern language and shifted focus to frameworks like SwiftUI, Objective-C and Cocoa remain widely used and supported. Cappuccino leverages the mature and proven Cocoa architecture, which continues to be relevant for many applications. Additionally, Cappuccino’s design abstracts these technologies to the web, ensuring that developers can create robust web applications regardless of Apple’s evolving ecosystem. - +**Q: Hasn't Apple moved away from Objective-C and Cocoa, making them obsolete?** +**A:** While Apple has indeed introduced Swift as a modern programming language and shifted its focus to frameworks like SwiftUI, Objective-C and Cocoa are still widely used and supported. Objective-C is a small superset of C, and similarly, Objective-J is a small superset of JavaScript. This allows developers to mix and match Objective-J with plain JavaScript, offering a level of flexibility that wouldn't be possible with Swift, which is an entirely different language. This makes Objective-J particularly advantageous for developers who want to integrate with existing JavaScript codebases without needing to learn an entirely new language. **Q: What is with the funny syntax of Objective-J and its brackets? I've never seen a language like this – how can anyone be productive with something so strange?** **A:** Objective-J’s syntax, with its brackets, is inspired by Objective-C, which has been used for decades in developing macOS and iOS applications. While it may seem unusual initially, it provides a powerful way to structure code and manage objects. Developers familiar with Objective-C will find it intuitive, and those new to it can leverage extensive documentation and community resources. The initial learning curve is offset by the productivity gains in building complex, maintainable web applications.