Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact
Subscribe
Tagged

Swift 4.2

A collection of 2 posts

Swift Value and Reference type semantics - Structs, Classes, Struct inside Class, Class inside Struct
memory semantics

Swift Value and Reference type semantics - Structs, Classes, Struct inside Class, Class inside Struct

Long ago Swift introduced a nice concept differentiating between value and reference semantic using Struct and Classes. As we all know, Struct is a value semantic, which means when value of one struct is assigned to another struct, only value is copied, not the reference - Which in other words

  • Jayesh Kawli
Jayesh Kawli Dec 22, 2019 • 9 min read
Writing unit tests for Minesweeper game
Minesweeper

Writing unit tests for Minesweeper game

Yesterday was quite a productive day to conclude the refactor project. Especially I venture into the most sacred territory of any good software - Unit testing. Here are the screenshots of test coverage taken before and after writing tests Coverage at just 4.4%Coverage at 85.6%It was

  • Jayesh Kawli
Jayesh Kawli Jan 6, 2019 • 2 min read
Fresh Beginning © 2022
Powered by Ghost