[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"me":3,"catalog:en:backend\u002Fgo-interfaces-generics":4,"config":253},null,{"field_key":5,"field_name":6,"seniority":7,"topic_key":8,"topic_name":9,"spec_key":7,"spec_name":7,"locale":10,"cell_total":11,"field_total":12,"seniorities":13,"topics":17,"specs":148,"samples":168},"backend","Backend","","go-interfaces-generics","Go Interfaces Generics","en",75,3300,[14,15,16],"junior","mid","senior",[18,21,24,27,30,33,36,39,42,45,48,51,54,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145],{"key":19,"name":20,"count":11},"api-design","API Design",{"key":22,"name":23,"count":11},"caching","Caching",{"key":25,"name":26,"count":11},"concurrency","Concurrency",{"key":28,"name":29,"count":11},"csharp-concurrency-async","Csharp Concurrency Async",{"key":31,"name":32,"count":11},"csharp-exceptions","Csharp Exceptions",{"key":34,"name":35,"count":11},"csharp-generics-interfaces","Csharp Generics Interfaces",{"key":37,"name":38,"count":11},"csharp-memory-performance","Csharp Memory Performance",{"key":40,"name":41,"count":11},"csharp-stdlib-http","Csharp Stdlib Http",{"key":43,"name":44,"count":11},"csharp-testing-tooling","Csharp Testing Tooling",{"key":46,"name":47,"count":11},"databases-sql","Databases \u002F SQL",{"key":49,"name":50,"count":11},"go-concurrency","Go Concurrency",{"key":52,"name":53,"count":11},"go-errors","Go Errors",{"key":8,"name":9,"count":11},{"key":56,"name":57,"count":11},"go-memory-performance","Go Memory Performance",{"key":59,"name":60,"count":11},"go-stdlib-http","Go Stdlib Http",{"key":62,"name":63,"count":11},"go-testing-tooling","Go Testing Tooling",{"key":65,"name":66,"count":11},"java-concurrency","Java Concurrency",{"key":68,"name":69,"count":11},"java-exceptions","Java Exceptions",{"key":71,"name":72,"count":11},"java-generics-interfaces","Java Generics Interfaces",{"key":74,"name":75,"count":11},"java-memory-jvm","Java Memory Jvm",{"key":77,"name":78,"count":11},"java-stdlib-http","Java Stdlib Http",{"key":80,"name":81,"count":11},"java-testing-tooling","Java Testing Tooling",{"key":83,"name":84,"count":11},"messaging-queues","Messaging \u002F Queues",{"key":86,"name":87,"count":11},"networking-http","Networking \u002F HTTP",{"key":89,"name":90,"count":11},"nodejs-error-handling","Nodejs Error Handling",{"key":92,"name":93,"count":11},"nodejs-event-loop-async","Nodejs Event Loop Async",{"key":95,"name":96,"count":11},"nodejs-memory-performance","Nodejs Memory Performance",{"key":98,"name":99,"count":11},"nodejs-modules-streams","Nodejs Modules Streams",{"key":101,"name":102,"count":11},"nodejs-stdlib-http","Nodejs Stdlib Http",{"key":104,"name":105,"count":11},"nodejs-testing-tooling","Nodejs Testing Tooling",{"key":107,"name":108,"count":11},"php-concurrency-async","Php Concurrency Async",{"key":110,"name":111,"count":11},"php-exceptions","Php Exceptions",{"key":113,"name":114,"count":11},"php-generics-interfaces","Php Generics Interfaces",{"key":116,"name":117,"count":11},"php-memory-performance","Php Memory Performance",{"key":119,"name":120,"count":11},"php-stdlib-http","Php Stdlib Http",{"key":122,"name":123,"count":11},"php-testing-tooling","Php Testing Tooling",{"key":125,"name":126,"count":11},"python-concurrency-async","Python Concurrency Async",{"key":128,"name":129,"count":11},"python-errors-context","Python Errors Context",{"key":131,"name":132,"count":11},"python-memory-performance","Python Memory Performance",{"key":134,"name":135,"count":11},"python-stdlib-http","Python Stdlib Http",{"key":137,"name":138,"count":11},"python-testing-tooling","Python Testing Tooling",{"key":140,"name":141,"count":11},"python-typing-oop","Python Typing Oop",{"key":143,"name":144,"count":11},"security","Security",{"key":146,"name":147,"count":11},"testing","Testing",[149,153,156,159,162,165],{"key":150,"name":151,"count":152},"csharp","C#\u002F.NET",450,{"key":154,"name":155,"count":152},"go","Go",{"key":157,"name":158,"count":152},"java","Java",{"key":160,"name":161,"count":152},"nodejs","Node.js",{"key":163,"name":164,"count":152},"php","PHP",{"key":166,"name":167,"count":152},"python","Python",[169,187,201,215,228,241],{"id":170,"topic":9,"difficulty":171,"body":172,"options":173,"correct_key":175,"explanation":186},"019f5b0c-5b3c-7c24-985f-1f4ab6992a34",1,"Which statement about interface satisfaction in Go is correct?",[174,177,180,183],{"key":175,"text":176},"a","A type satisfies an interface automatically once its method set includes all of the interface's methods.",{"key":178,"text":179},"b","A type must declare which interfaces it implements using an `implements` keyword.",{"key":181,"text":182},"c","A type satisfies an interface only if it imports the interface's defining package.",{"key":184,"text":185},"d","A type satisfies an interface only if its methods are declared in the same file as the interface.","Go interfaces are satisfied implicitly (structural typing): there is no `implements` keyword. If a type's method set contains every method declared in an interface, it satisfies that interface automatically, regardless of package or file location.",{"id":188,"topic":9,"difficulty":189,"body":190,"options":191,"correct_key":178,"explanation":200},"019f5b0c-5b3d-74ef-bd14-0914594d275f",2,"```go\ntype Animal interface { Speak() string }\ntype Dog struct{}\nfunc (d *Dog) Speak() string { return \"Woof\" }\n\nfunc main() {\n    var a Animal = Dog{}\n    fmt.Println(a.Speak())\n}\n```\nWhat happens when this code is compiled?",[192,194,196,198],{"key":175,"text":193},"It compiles and prints \"Woof\".",{"key":178,"text":195},"It fails to compile: Dog does not implement Animal.",{"key":181,"text":197},"It compiles but panics at runtime when Speak is called.",{"key":184,"text":199},"It compiles and prints an empty string.","Speak has a pointer receiver, so it belongs to (*Dog)'s method set, not Dog's. Assigning a Dog value (not &Dog{}) to the Animal variable fails to compile with an error like \"Dog does not implement Animal (Speak method has pointer receiver)\".",{"id":202,"topic":9,"difficulty":203,"body":204,"options":205,"correct_key":181,"explanation":214},"019f5b0c-5b3d-7c09-8516-dad072c3962a",3,"For a type T whose methods are all declared with value receivers, which statement about the method sets of T and *T is correct?",[206,208,210,212],{"key":175,"text":207},"T's method set includes only pointer-receiver methods.",{"key":178,"text":209},"*T's method set includes only pointer-receiver methods and excludes T's value-receiver methods.",{"key":181,"text":211},"*T's method set has both value- and pointer-receiver methods; T's has only the value ones.",{"key":184,"text":213},"T and *T always have exactly the same method set, with no exceptions.","The method set of *T is the union of value-receiver and pointer-receiver methods declared on T, while the method set of T contains only the value-receiver methods. This asymmetry is why a *T often satisfies interfaces that T alone does not.",{"id":216,"topic":9,"difficulty":171,"body":217,"options":218,"correct_key":184,"explanation":227},"019f5b0c-5b3e-7413-8da8-837e71e13acb","```go\ntype Status int\n\nconst Active Status = 1\n\nfunc (s Status) String() string {\n    return \"active\"\n}\n\nfunc main() {\n    var s Status = Active\n    fmt.Printf(\"status: %v\\n\", s)\n}\n```\nWhat does this print?",[219,221,223,225],{"key":175,"text":220},"status: 1",{"key":178,"text":222},"It fails to compile.",{"key":181,"text":224},"It panics at runtime.",{"key":184,"text":226},"status: active","Status implements fmt.Stringer via its String() method. When %v formats a value that satisfies fmt.Stringer, fmt calls String() instead of printing the underlying int, so the output uses the returned string.",{"id":229,"topic":9,"difficulty":171,"body":230,"options":231,"correct_key":178,"explanation":240},"019f5b0c-5b3e-7c5c-a313-1ee633b2fb87","In Go, what is `any` and how does it relate to types?",[232,234,236,238],{"key":175,"text":233},"A special generic-only keyword usable exclusively inside type parameter lists.",{"key":178,"text":235},"An alias for `interface{}`, the empty interface, which has no methods and is satisfied by every type.",{"key":181,"text":237},"A built-in type that can only hold numeric values.",{"key":184,"text":239},"A keyword that declares a variable's type will be inferred once and fixed forever.","`any` was added as an alias for `interface{}`. Because the empty interface declares zero methods, every type's method set trivially satisfies it, so a variable of type `any` can hold a value of any type.",{"id":242,"topic":9,"difficulty":189,"body":243,"options":244,"correct_key":184,"explanation":252},"019f5b0c-5b3f-74c1-bfdd-0b98434cef6c","```go\nvar i any = \"hello\"\nn := i.(int)\nfmt.Println(n)\n```\nWhat happens when this code runs?",[245,247,249,251],{"key":175,"text":246},"It prints 0.",{"key":178,"text":248},"It compiles, and n is nil.",{"key":181,"text":250},"It prints \"hello\" converted to an int.",{"key":184,"text":224},"The single-value form of a type assertion (`i.(int)`) panics if the assertion fails. Since i's dynamic type is string, asserting int panics with a message like \"interface conversion: interface {} is string, not int\".",{"fields":254,"seniorities":423,"interview_shapes":424,"locales":429,"oauth":431,"question_count":434,"coach_enabled":435,"jd_match_enabled":435},[255,266,286,302,326,339,358,377,397,404,410,417],{"key":5,"name_tr":6,"name_en":6,"sort":171,"specializations":256},[257,260,261,262,263,264,265],{"key":258,"name":259,"field":5},"general","Genel",{"key":154,"name":155,"field":5},{"key":166,"name":167,"field":5},{"key":157,"name":158,"field":5},{"key":150,"name":151,"field":5},{"key":160,"name":161,"field":5},{"key":163,"name":164,"field":5},{"key":267,"name_tr":268,"name_en":268,"sort":189,"specializations":269},"frontend","Frontend",[270,271,274,277,280,283],{"key":258,"name":259,"field":267},{"key":272,"name":273,"field":267},"javascript","JavaScript",{"key":275,"name":276,"field":267},"typescript","TypeScript",{"key":278,"name":279,"field":267},"react","React",{"key":281,"name":282,"field":267},"vue","Vue",{"key":284,"name":285,"field":267},"angular","Angular",{"key":287,"name_tr":288,"name_en":288,"sort":203,"specializations":289},"fullstack","Fullstack",[290,291,292,293,294,295,296,297,298,299,300,301],{"key":258,"name":259,"field":287},{"key":154,"name":155,"field":5},{"key":166,"name":167,"field":5},{"key":157,"name":158,"field":5},{"key":150,"name":151,"field":5},{"key":160,"name":161,"field":5},{"key":163,"name":164,"field":5},{"key":272,"name":273,"field":267},{"key":275,"name":276,"field":267},{"key":278,"name":279,"field":267},{"key":281,"name":282,"field":267},{"key":284,"name":285,"field":267},{"key":303,"name_tr":304,"name_en":304,"sort":305,"specializations":306},"devops-cloud","DevOps \u002F Cloud",4,[307,308,311,314,317,320,323],{"key":258,"name":259,"field":303},{"key":309,"name":310,"field":303},"aws","AWS",{"key":312,"name":313,"field":303},"gcp","GCP",{"key":315,"name":316,"field":303},"azure","Azure",{"key":318,"name":319,"field":303},"kubernetes","Kubernetes",{"key":321,"name":322,"field":303},"terraform","Terraform",{"key":324,"name":325,"field":303},"linux","Linux",{"key":327,"name_tr":328,"name_en":328,"sort":329,"specializations":330},"ai-engineer","AI Engineer",5,[331,332,333,336],{"key":258,"name":259,"field":327},{"key":166,"name":167,"field":327},{"key":334,"name":335,"field":327},"llm-rag","LLM\u002FRAG",{"key":337,"name":338,"field":327},"mlops","MLOps",{"key":340,"name_tr":341,"name_en":342,"sort":343,"specializations":344},"database","Veritabanı","Database",6,[345,346,349,352,355],{"key":258,"name":259,"field":340},{"key":347,"name":348,"field":340},"postgresql","PostgreSQL",{"key":350,"name":351,"field":340},"mysql","MySQL",{"key":353,"name":354,"field":340},"mongodb","MongoDB",{"key":356,"name":357,"field":340},"redis","Redis",{"key":359,"name_tr":360,"name_en":361,"sort":362,"specializations":363},"mobile","Mobil","Mobile",7,[364,365,368,371,374],{"key":258,"name":259,"field":359},{"key":366,"name":367,"field":359},"ios-swift","iOS (Swift)",{"key":369,"name":370,"field":359},"android-kotlin","Android (Kotlin)",{"key":372,"name":373,"field":359},"flutter","Flutter",{"key":375,"name":376,"field":359},"react-native","React Native",{"key":143,"name_tr":378,"name_en":144,"sort":379,"specializations":380},"Güvenlik",8,[381,382,385,388,391,394],{"key":258,"name":259,"field":143},{"key":383,"name":384,"field":143},"appsec","AppSec",{"key":386,"name":387,"field":143},"offensive-pentest","Offensive \u002F Pentest",{"key":389,"name":390,"field":143},"cloud-security","Cloud Security",{"key":392,"name":393,"field":143},"devsecops","DevSecOps",{"key":395,"name":396,"field":143},"blue-team-incident","Blue Team \u002F Incident",{"key":398,"name_tr":399,"name_en":400,"sort":401,"specializations":402},"qa-test-automation","QA \u002F Test Otomasyonu","QA \u002F Test Automation",9,[403],{"key":258,"name":259,"field":398},{"key":405,"name_tr":406,"name_en":406,"sort":407,"specializations":408},"data-engineer","Data Engineer",10,[409],{"key":258,"name":259,"field":405},{"key":411,"name_tr":412,"name_en":413,"sort":414,"specializations":415},"game-dev","Oyun Geliştirme","Game Development",11,[416],{"key":258,"name":259,"field":411},{"key":418,"name_tr":419,"name_en":419,"sort":420,"specializations":421},"ml-engineer","ML Engineer",12,[422],{"key":258,"name":259,"field":418},[14,15,16],{"junior":425,"mid":427,"senior":428},{"questions":426,"median_sec":3},20,{"questions":426,"median_sec":3},{"questions":426,"median_sec":3},[430,10],"tr",[432,433],"google","github",21750,true]