Post

Replies

Boosts

Views

Activity

Reply to Nomenclature Issue
I believe, Instead of ternary conditional operator it should be ternary conditional operation as three input operands is called ternary operation in mathematics as Operator is Types of operators: Arithmetic: +, -, *, / Comparison: ==, !=, >, < Logical: &&, ||, ! Assignment: =, +=, -= Operands is [a-z], [A-Z] It brings confusion from Maths to Programming in Swift https://docs.swift.org/swift-book/documentation/the-swift-programming-language/basicoperators/#Ternary-Conditional-Operator
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’25
Reply to Range For Keys and Values Of Dictionary
Actually I was trying this, Thanks for the posts! Cheers..! let number = Array(myFruitBasket.keys) print(number.sorted()) print(number[1...3]) and the answer is: ["apple", "banana", "budbeeri", "chikoo"] ["banana", "budbeeri", "chikoo"]
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’25
Reply to Is Half Open Range Subset of One Sided Range
I mean for Single Responsibility {Brevity}
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to Nomenclature Issue
I believe, Instead of ternary conditional operator it should be ternary conditional operation as three input operands is called ternary operation in mathematics as Operator is Types of operators: Arithmetic: +, -, *, / Comparison: ==, !=, >, < Logical: &&, ||, ! Assignment: =, +=, -= Operands is [a-z], [A-Z] It brings confusion from Maths to Programming in Swift https://docs.swift.org/swift-book/documentation/the-swift-programming-language/basicoperators/#Ternary-Conditional-Operator
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’25