Is Swift ideal language on Linked List for new learners? Optionals, Unwrap etc.

Since I am iOS developer, I am solving problems with Swift. I am thinking if swift is ideal for new learners, especially on linked list and graph topics. I am checking other languages like Java, what you need to do as a new learner, to focus the logic, edge cases and code your solution. But in Swift, you need to check if node is nil or not, and type ? or ! to reach the next node or value. When I type my solution, most of the time, I am getting the syntax error, saying that unwrap the value or no need optional sign on the particular line.

What do you guys think about that ?

Comments (2)