Lädt...

📰 Golang Approves Generics, While Python Accepts Pattern-Matching Proposals


Nachrichtenbereich: 📰 IT Security Nachrichten
🔗 Quelle: developers.slashdot.org

From today's "This Week in Programming" column: Rejoice, long at last, all you Gophers, for the question of whether or not the Go programming language will adopt generics has finally, after many years of debate, been answered this week with the acceptance of a proposal made last month. In this most recent proposal, Golang team member Ian Lance Taylor writes that generics have been "one of the most commonly requested language features" since the language was first released in 2009, but even then, it's adoption doesn't come without concerns. Taylor explains the idea of generics in the intro of his proposal: "Generics can give us powerful building blocks that let us share code and build programs more easily. Generic programming means writing functions and data structures where some types are left to be specified later. For example, you can write a function that operates on a slice of some arbitrary data type, where the actual data type is only specified when the function is called. Or, you can define a data structure that stores values of any type, where the actual type to be stored is specified when you create an instance of the data structure." It is precisely this value proposition — being able to write reusable code — that excites some developers and has been behind the push all along... Generics wasn't the only controversial programming language addition this week, with the Python Steering Council making the decision to accept a number of Python Enhancement Proposals (PEPs) collectively known as the Pattern Matching PEPs. "We acknowledge that Pattern Matching is an extensive change to Python and that reaching consensus across the entire community is close to impossible," the council writes, saying that, nonetheless, they "are confident that Pattern Matching as specified in PEP 634, et al, will be a great addition to the Python language." One dissenter to the addition found their way to the pages of iProgrammer, with the snarky headline "Python Adopts Pattern Matching — Kitchen Sink Next." In other news, Google increased its support for the Python Software Foundation with a donation of more than $350,000 to support three specific projects, and also says it will continue its donation of Google Cloud infrastructure to the foundation.

Read more of this story at Slashdot.

...

🔧 Making Generics Types Optional - Generics Fundamentals in Typescript


📈 39.6 Punkte
🔧 Programmierung

📰 Has the Time Finally Come for Generics in Golang?


📈 32.19 Punkte
📰 IT Security Nachrichten

🔧 Webkul pattern question advance pattern for interview with python


📈 30.18 Punkte
🔧 Programmierung

🔧 Golang: Practical Cases to Use the Golang Sleep Method


📈 24.77 Punkte
🔧 Programmierung

🔧 GoLang JWT Authentication Using Golang Gin Framework with MongoDB


📈 24.77 Punkte
🔧 Programmierung

🔧 How to use GoLang in Flutter Application - Golang FFI


📈 24.77 Punkte
🔧 Programmierung

🕵️ GitHub Security Lab: Golang : Improvements to Golang SSRF query


📈 24.77 Punkte
🕵️ Sicherheitslücken

🔧 Build basic microservice online store backend with Golang use Api Gateway Pattern - Part 1


📈 24.53 Punkte
🔧 Programmierung

🔧 SQL generation: Golang's builder pattern vs Clojure's persistent map


📈 24.53 Punkte
🔧 Programmierung

🔧 Penerapan Domain-Driven Design dan CQRS Pattern di Golang untuk Pemula


📈 24.53 Punkte
🔧 Programmierung

🔧 Golang - Singleton Design pattern


📈 24.53 Punkte
🔧 Programmierung

🔧 Golang : The OOP Pattern.


📈 24.53 Punkte
🔧 Programmierung

🔧 Design Pattern #4 - Publisher/Subscriber Pattern


📈 24.28 Punkte
🔧 Programmierung

🔧 Design Pattern #3 - Observer Pattern


📈 24.28 Punkte
🔧 Programmierung

🔧 Design Pattern #2 - Facade Pattern


📈 24.28 Punkte
🔧 Programmierung

🔧 Go program pattern 01: Functional Options Pattern


📈 24.28 Punkte
🔧 Programmierung

🔧 A transição do Higher-Order Component pattern para o React Hooks pattern


📈 24.28 Punkte
🔧 Programmierung

📰 Neu in .NET 7 [5]: List Pattern und Slice Pattern mit C# 11


📈 24.28 Punkte
📰 IT Nachrichten

🔧 Design Pattern #7 - Builder Pattern


📈 24.28 Punkte
🔧 Programmierung

🐧 Factory Pattern: Alle Informationen zum Factory Method Pattern


📈 24.28 Punkte
🐧 Server

🔧 Design Pattern #6 - Composite Pattern


📈 24.28 Punkte
🔧 Programmierung

🐧 Observer Pattern: Was steckt hinter dem Observer Design Pattern?


📈 24.28 Punkte
🐧 Server

🔧 Service: O pattern que virou anti-pattern


📈 24.28 Punkte
🔧 Programmierung

🔧 Design Pattern #5 - Adapter Pattern


📈 24.28 Punkte
🔧 Programmierung

⚠️ [dos] Pdfium - Out-of-Bounds Read with Shading Pattern Backed by Pattern Colorspace


📈 24.28 Punkte
⚠️ PoC

🔧 Pub/Sub pattern vs Observer Pattern: what's the difference?


📈 24.28 Punkte
🔧 Programmierung

🔧 Module-Pattern | Javascript Design Pattern Simplified | Part 4


📈 24.28 Punkte
🔧 Programmierung

🔧 Decorator-Pattern | Javascript Design Pattern Simplified | Part 5


📈 24.28 Punkte
🔧 Programmierung

🔧 Factory-Pattern | Javascript Design Pattern Simplified | Part 2


📈 24.28 Punkte
🔧 Programmierung

matomo