paint-brush
Creating Custom Operators in Swift ☕by@aclaytonscott
2,198 reads
2,198 reads

Creating Custom Operators in Swift ☕

by Andrew Scott3mDecember 1st, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

When I first came across Swift code that contained custom <a href="https://hackernoon.com/tagged/operators" target="_blank">operators</a> I immediately dismissed them as just another one of those advanced language features that the average tinkerer like myself would never have a need for. However, after I ended up using them as a very basic package example in an earlier <a href="https://medium.com/@aclaytonscott/creating-and-distributing-swift-packages-132444f5dd1" target="_blank">post</a>, I’ve decided that in addition to being convenient they can also make your code more readable, even when using non-standard operators.

Company Mentioned

Mention Thumbnail
featured image - Creating Custom Operators in Swift ☕
Andrew Scott HackerNoon profile picture
Andrew Scott

Andrew Scott

@aclaytonscott

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Bitcoininsider