-
4 votes
-
Python Performance: Why 'if not list' is 2x faster than using len()
13 votes -
How to get a Common Lisp job in 2055
28 votes -
What was your first programming language, what languages do you know now, and what tips do you have for those trying to learn any of those?
What was your first programming language, what other languages (if any) do you know now, and what tips do you have for those trying to learn any of those? Whether those tips are for beginners or...
What was your first programming language, what other languages (if any) do you know now, and what tips do you have for those trying to learn any of those? Whether those tips are for beginners or even advanced, to do with APIs, or if you've got a good library to share.
53 votes -
Jank: a native Clojure dialect hosted on LLVM with C++ interop
6 votes -
Apple is killing Swift
41 votes -
HTML is the most significant computing language ever developed. Underestimate it at your peril.
23 votes -
Understanding the Odin Programming Language
6 votes -
Zig reproduced without binaries
19 votes -
Moving my game project from C to Odin language
15 votes -
Paper: Feminism in Programming Language Design
36 votes -
How to make Racket go (almost) as fast as C
2 votes -
Asynchronous IO: the next billion-dollar mistake?
15 votes -
Zig and emulators
14 votes -
Why not just do simple C++ RAII in C?
10 votes -
Zig: The small language (2022)
17 votes -
First impressions of Gleam: lots of joys and some rough edges
9 votes -
Moving Beyond Type Systems
6 votes -
The await event horizon in Javascript
10 votes -
Critical vulnerability in Rust's Command library allows for command injection when using its API to invoke batch scripts with arguments on Windows systems (CVE-2024-24576)
18 votes -
Learning new programming languages with limited time: Rust, golang, or otherwise?
I want to learn a new language that I can use for personal projects. But I want to pick the right one for me, given the fact that learning it will be a time investment and I don't have a ton of...
I want to learn a new language that I can use for personal projects. But I want to pick the right one for me, given the fact that learning it will be a time investment and I don't have a ton of time for "fun" stuff these days.
I've spent a decent amount of time tinkering around with Rust and my experience has been decent so far, if I'm trying to filter it through the lens of the current Rust craze. It just seems that the code has a somewhat... ugly(?)... aesthetic to it? I'm not willing to cast it aside yet and I think the "ugliness" just comes from me not really recognizing the syntax very well.
I started looking at golang and was immediately interested in the marketing message of it being "a better C". Aside from Hello World, I haven't done anything else with it.
Some random notes/points about my experience and what I'm looking for:
- I am very accomplished with PHP, quite accomplished with C, somewhat accomplished with C++ and Python. Of those, I find Python to be too "free and easy", PHP (Symfony specifically) and C++ to be so OOP-oriented that I just end up writing a bunch of boilerplate, and C is just... C (I'd rather pull out a tooth than have to work with C strings).
- Aside from the obvious pains of C, I think it's the most fun of the bunch. I don't know why I think this, because again, I absolutely hate C strings.
- I appreciate the package management and ecosystem of Rust, from what I've seen. C-with-Cargo would be awesome.
- The older I get, the more I appreciate strong typing.
- I like a language that allows me to systematically and logically organize my code into various modules, directories, etc. This is where PHP/Symfony shines in that there's a place for everything, as opposed to a bunch of .c and .h files all dumped into a folder.
- Ideally, I'd like something that can compile into a binary that doesn't require JVM, etc.
I'm open to suggestions outside of Rust and Go... those are just the ones I've been seeing mentioned the most over the past decade.
26 votes -
White House urges use of type safe and memory safe programming languages and hardware
38 votes -
White House to Developers: Using C or C++ Invites Cybersecurity Risks
5 votes -
JavaScript bloat in 2024
51 votes -
Maybe everything is a coroutine
3 votes -
A 2024 plea for lean software
36 votes -
A reasonable configuration language
16 votes -
A universal lowering strategy for control effects in Rust
12 votes -
Koka - A Functional Language with Effect Types and Handlers
19 votes -
Is there a programming language that brings you joy?
Just for a moment, forget all of the technical pros and cons, the static typing, just-in-time compilation, operator overloading, object orientation to the max... Is there a programming language...
Just for a moment, forget all of the technical pros and cons, the static typing, just-in-time compilation, operator overloading, object orientation to the max...
Is there a programming language that you've just found to be... fun?
Is there one that you'd pick above all else for personal or company projects, if you had your druthers, because you would simply be so excited to use it?
And then, is there something missing in that "fun" language that's preventing it from actually becoming a reality (i.e. small community, lack of libraries, maintenance ended in the 80s, etc.)?
50 votes -
I want to learn Android (with Kotlin) ... should I focus on Jetpack or the old XML style?
I am an experienced programmer (mostly M$ stack -- C#, etc). I started learning mobile Android development a few months ago, learning both Kotlin and the larger Android development environment at...
I am an experienced programmer (mostly M$ stack -- C#, etc).
I started learning mobile Android development a few months ago, learning both Kotlin and the larger Android development environment at the same time. I got bogged down in tutorials and guides, because half of them teach Jetpack Compose methodology and half teach XML layout ... and, often enough, don't bother to mention which method they're using.
Which should I learn first? I am initially interested in learning Android dev for my own hobby/fun/side projects, but I would--ultimately--like to be able to put "Android developer" on my resume.
Jetpack definitely looks better, more modern, more OO, and I expect it will eventually become the new standard ... but that could still be many years down the road. Also, while it might be "better"--especially for larger projects--it also smells more complicated.
So, ultimately, I guess I should learn both if I actually intend to become an Android dev ... but I should definitely get comfortable with one, first ... so, which one?
11 votes -
An Intuition for Lisp Syntax
20 votes -
40 years of Turbo Pascal
10 votes -
Watsonx: IBM's code assistant for turning COBOL into Java
11 votes -
How Lisp became god's own programming language (2018)
29 votes -
Announcing TypeScript 5.3 Beta
12 votes -
Rewriting a Chumsky Parser By Hand in Rust
8 votes -
Introducing RustRover: a standalone Rust IDE by Jetbrains
18 votes -
Perfectly reproducible, verified Go toolchains
11 votes -
Announcing TypeScript 5.2
8 votes -
Announcing TypeScript 5.2 RC
10 votes -
Representing heterogeneous data
6 votes -
Zig 0.11.0 Release Notes
12 votes -
The Val Programming Language
13 votes -
Coroutines for Go
9 votes -
Forth: The programming language that writes itself
10 votes -
Announcing TypeScript 5.2 Beta
6 votes -
What is the most advanced or creative program you can create using the LOX programming language?
Lox is a toy programming language that is designed in Java and C at craftinginterpreters.com. My challenge to you is: given the constraints of the Lox language, what are some creative or advanced...
Lox is a toy programming language that is designed in Java and C at craftinginterpreters.com.
My challenge to you is: given the constraints of the Lox language, what are some creative or advanced programs you can create?
This page provides a rundown of the design of Lox.
To kick it off, here's a simple function that estimates the value of pi:
fun estimatePi(rounds) { var pi = 0; var alt = 1; for (var i = 0; i < rounds; i = i + 1) { pi = pi + alt * 4/(2 * i + 1); alt = -alt; } return pi; } print "The value of pi is:"; print getPi(100000);
3 votes -
The Early History Of Smalltalk
7 votes -
Introducing Hurl, a terrible (but cute) idea for a language
27 votes