import Foundation
enum Quest {
case stacks
case frameworksAndLibs
case tools
}
struct Silvio {
var quest: Quest
var developerExperience: Int = 2
func getAnswer() -> String {
switch quest {
case .stacks:
return "\(Javascript) + \(HTML) + \(CSS)"
case .frameworksAndLibs:
return ["Reactjs", "TypeScript", "React-native", "Node.js"].joined(separator: ", ")
case .tools:
return "\(VSCode) + \(Figma) + \(Git) + \(Insomnia)"
}
}
var learning: [String] {
return ["Rust", "Python", "SwiftUI", "UIKit"]
}
}
let silvio = Silvio(quest: .frameworksAndLibs)
print(silvio.getAnswer()) // "Reactjs, TypeScript, React-native, Node.js"
print(silvio.learning) // ["Rust", "Python", "SwiftUI", "UIKit"]
Highlights
- Pro
Pinned Loading
-
-
KNN-learning-algorithm
KNN-learning-algorithm PublicThis algorithm is a supervised classification or regression technique that uses the K nearest neighbors to classify new instances. It operates similarly to the saying, "tell me who your friends are…
Python 1
-
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.