techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#programminglanguages

6 posts6 participants2 posts today

How good are LLMs at explaining code without relying on names/keywords for hints.

If I systematically alpha-vary every identifier to something unhelpful like a01234 etc and replace all the keywords like 'if', 'match', 'use' etc by 'frob', 'garp', 'smeg' and then ask the LLM to explain what the code in a particular function is doing, will it be able to figure it out by structure alone?

Same question, but instead of a programming language, it's a Rocq proof

When I first got truly comfortable with TypeScript, there was no turning back. It quickly became such a crucial part of my workflow that now, whenever I'm stuck using plain JavaScript, there's always that nagging worry—did I overlook something important? TypeScript offers a level... 

#Development #advancedcode #advanceddevelopers #bitstips #code #programming #programminglanguages #typescript
bitskingdom.com/?p=22805

Bits Kingdom | Any world is possible · TypeScript Essentials to Boost Your Workflow | 2025Discover why TypeScript is essential: learn about TypeScript's core features, type safety, and how it transforms your JavaScript workflow.

I'm posting this mostly for my own benefit; this is discussing a language feature I'm unfamiliar with.

What I find interesting is that just like some ideas are in the air and find their landing point, so too do some ideas just fail to find the right implementation.

So time to look up sum types (or disjoint unions or...).

#ProgrammingLanguages

"...language features are easily broken, mis-copied, forgotten or intentionally omitted due to the designer's pet beliefs."

graydon2.dreamwidth.org/318788

graydon2.dreamwidth.orgCaptcha Check

Today I realized #Go and #Rust both have panics instead of exceptions and both originate from the second half of the 2000s.

These facts are now mentioned in gato-lang.dev/

If you have experience with Go or Rust, I'm interested in your thoughts on the lack of exceptions in these languages. It looks to me like an attempt to simplify things that eventually backfired, as evidenced for example by crowdstrike.com/en-us/blog/dea

gato-lang.devGato Programming Language

Даўно збіраўся пачытаць гэтую кнігу, але вось толькі зараз дабраўся. З усіх апісваных у кнізе моваў я зусім ніяк не сутыкаўся толькі з Prolog і Io, таму спадзяюся што гэтыя часткі кнгі прынамсі будуць цікавыя

I want to read a #compiler book written in the last 15 years that covers same topics as the Modern Compiler Implementation book by Appel, but uses recent terminology, tools and techniques. Any recommendations? #compilers #programminglanguages

EDIT: It seems like no such book exists. I guess I’ll have to read docs, blogs and papers along with old books to put things together myself.