Spyke
feddit.nl

HTML 5 isn't a programming language! (Yes, I'm a nerd)

78
xmunkreply
sh.itjust.works

Assuming you're talking about HTML5 & CSS it actually is Turing Complete.

32
lemmy.blahaj.zone

It's a programming language regardless of it's completeness. You give a computer instructions, in a DSL, it gets interpreted.

Don't gate keep.

-4

My voyager app is a programming laguage. When i click post, it gets interpreted and sends a comment to the server

Btw, is english a programming language cuz AI interprets it and does something with it?

8
stetechreply
lemmy.world

Who is “it” which interprets things? Is it part of HTML/CSS?

1
stetechreply
lemmy.world

So where in that can I encode an arbitrary program? Like one could do in JavaScript?

1

Create a table of checkboxes with the rule 110 CSS applied.
Translate your program to a rule 110 program and put it in the top row of the table.
Advance the computation by checking the marked (orange in the example) checkboxes row by row.

Example

2
slrpnk.net

Is this a safe space to say that my favorite programming language rn is Python?

23

That's weird, a physicist that deals with the empirical world, how does the rest of your tribe feel about you? I promise you we can treat you better in engineering, but the initiation might be a little hard for you. It includes a lot of chanting "pi is 3", "what good is science if you don't apply it", and "that's a weird parameter, I'll just try setting it to one"

If you want to code like MATLAB but keep the leather elbow patched sports jacket and cozy office, maybe try getting plastered and code Visual Basic, it has the same feeling to it.

2

Yeah, I associate Matlab with my physicist friends, my engineers friends either dont program, or already became software developers.

1

when you're so much of a nerd that your favourite lang isn't in the meme (it's Ada btw)

13
programming.dev

What if you don't have a favorite programming language? I'm a firm believer that each language offers a specific set a features that makes each one uniquely suck and I often find myself at the crossroads of continuing to use this garbage or to learn a new language only to find it sucks in a different way. (/s another way of saying each language has its niche... (but sucks outside of it))

9

It's like how some infinite are greater / less than others, sure you might say that each one uniquely sucks, but spend a month trying to build something with say, Salesforce's language, and you'll come to appreciate how there are still tiers to it... much, much lower tiers.

2

No ![email protected] ? How the mighty have fallen.

It's still my favorite for now, though I do find Idris and Purescript compelling, too, for different reasons.

4
lemmings.world

Technically, half of those are scripting languages not programming languages.

Anyway my favourite is Bash because I'm weird, even for a nerd.

2
azireply
mander.xyz

how is a script not a program??

18
Naichreply
lemmings.world

I always thought that programs had to be compiled to be classed as programs.

1
ttrpg.network

That's just the difference between compiled and interpreted.

Interpreted programs such as web apps can very much be programs, after all.

14
sh.itjust.works

Interpreted languages have classically been called scripting languages, it’s pedantic but it has use and meaning in the industry.

1

There is no purpose to mislabeling something and speaking inaccurately in a professional setting.

1

No, it's not. It's objectively inaccurate.

A computer does not care whether the instructions it's executing were compiled ahead of time or interpreted on the fly and they literally never have.

1
azireply
mander.xyz

that's not really true anymore is it though? in my limited experience now that nearly all AI is statistical, it's mostly implemented in python, R, matlab, or the low level languages that implement their stats libraries like C and fortran

7

Sure, but as far as I'm aware, no other large group of LISP users exists. My contention isn't that most AI researchers use LISP now, but that most LISP programmers are (were?) AI researchers.

I've been trying to learn about early AI work, and I'm finding that to get any practical details you're almost guaranteed to have to wade through LISP code, although at least it's usually pretty well commented.

2