this post was submitted on 10 Oct 2023
24 points (90.0% liked)

Technology

59653 readers
3289 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

I am a generator creator on it, and I just wanna know if it is coding or programming since it also uses HTML 🙂

all 29 comments
sorted by: hot top controversial new old
[–] mocha_lotsofmilk@lemmy.world 8 points 1 year ago (2 children)

I don't know if I would count HTML alone as coding either way, tbh. It's a markup language, not a programming language.

[–] Abigblueworld@lemmy.world 0 points 1 year ago

What is markup also?

[–] Asudox@lemmy.world 8 points 1 year ago (1 children)

No. HTML isn't a programming language. It's just a markup language.

[–] Abigblueworld@lemmy.world -2 points 1 year ago (2 children)

There's a Khan Academy thing saying it is

[–] insomniac@sh.itjust.works 3 points 1 year ago (1 children)

Markup languages like HTML are declarative. That means you use it to describe the result you want but you don’t give it any instructions for how to actually do that. An imperative language is used to actually describe the behavior. Traditional programming languages are imperative. An imperative language is necessary to interpret the HTML and actually display the content in the desired way. You can’t use HTML to accomplish anything by itself. This distinction is why calling HTML a programming language is contentious.

[–] Abigblueworld@lemmy.world 1 points 1 year ago

I'm a dumbass

[–] Asudox@lemmy.world 2 points 1 year ago (1 children)

They can say that, but the truth is that it is not.

[–] karmiclychee@sh.itjust.works 6 points 1 year ago* (last edited 1 year ago) (1 children)

From the welcome page

my secret mission with Perchance is to get people interested in coding with a smooth, fun learning-curve

Seems like it worked!

I do web dev on a daily basis, and I tend to think of HTML as "formatted" data.

A database has data in it, but it's in a format of columns and rows, like a spreadsheet.

My application fetches that raw data and uses code to manipulate it - it can inspect it, rewrite it, combine it with other data from other places, validate it against rules - all sorts of stuff.

Since my app is a web app, all that code is designed to use the data formatted in columns and rows from the database, and use it to generate new data in HTML format to send to the browser.

Technically, writing HTML for a browser is a form of programming - it's a set of instructions that tell the browser how to display the data in the HTML. It's not considered programming in a professional* sense, though, as HTML doesn't get, send, change, or process data. Its purpose is as a format for data to be sent and read by something else (the browser).

*professional as in job titles that affect your salary

[–] radix@lemm.ee 6 points 1 year ago* (last edited 1 year ago) (2 children)

Just reading the homepage, no, it just looks like a tool. When you use it, you're not a programmer; you're an RPG player or a writer or something. It just looks like programming because you type into a monospace textbox.

[–] ekky43@lemmy.dbzer0.com 0 points 1 year ago* (last edited 1 year ago) (2 children)

You're not making a generator either. The tool itself is already the generator, you just make content packs for it. The result will then be a generator for your content pack.

I guess an analogy could be an industrial harbor which loads ships with containers. Can the harbor say that it made the loaded ships? (yes it can, but people will rise eyebrows.)

Perhaps the generator can be seen as a very high-level programming language, so OP can call themselves a programmer, but I wouldn't go boasting about it.

[–] evilgiraffe666@ttrpg.network 3 points 1 year ago (1 children)

It's all human readable abstractions for 0s and 1s, isn't it? Unless you're working with quantum computers.

We want to draw the line somewhere, so my mum on FB doesn't call herself a programmer for creating a post, but it's not very clear where to put that line. I think it has to depend on the context, you could tell your hairdresser you're a programmer to avoid the unnecessary details, but wouldn't describe it as such in a job interview.

[–] ekky43@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago)

Usually you draw this line by "locking" a title behind some kind of education or certification. If someone carries this title, then it must mean that they at least have a basic understanding about x skill.

"Programmer" and "developer" aren't protected in any meaningful way, and I'm trying to hammer that into my brain, as I did not really see someone who hosts a template ~~Wordpad~~ Wordpress site as a webdev, or a Python scripter as a programmer (scripting is programming, but programming is much more than scripting, so comparing the two doesn't make much sense to me).

[–] Abigblueworld@lemmy.world 1 points 1 year ago (1 children)

You're making me feel like I'm a dumbass

[–] ekky43@lemmy.dbzer0.com 1 points 1 year ago (2 children)

Not a dumbass, we all have to start somewhere, and the only way to really fail is to stop trying to improve oneself.

That's also what in the oh so olden days set apart the script kiddies from the makers. The script kiddies found some readily available tools and boasted about their skill, while the makers tried to dig into the tools to get a better understanding, and ultimately be able to hack together the tools to better fit their needs. Many makers started out as script kiddies.

People nowadays often get introduced to programming in computer games, such as Minecraft's redstone, and I don't think that perchance is much different.

Next steps would be to find a programming or scripting language and start learning about common syntaxes and logic, perhaps even make your own generator!

[–] Abigblueworld@lemmy.world 0 points 1 year ago

I thought it was real programming, I thought I was a programmer AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHUHUHUHHHHHHHH!

[–] Abigblueworld@lemmy.world 0 points 1 year ago

I've been stuck on this so call "progamming" skeem for too long! I AM DONE WITH LIFE

[–] vzq@lemmy.blahaj.zone 5 points 1 year ago* (last edited 1 year ago) (2 children)

If you use it to make software that you or other people can use, it’s programming.

I’m not interested in mediating what “real” programming is, or who gets to call themselves a “real” programmer.

Also, there’s no real difference between “coding” and “programming”, it’s just a different, shorter word for the same activity.

[–] ekky43@lemmy.dbzer0.com 1 points 1 year ago* (last edited 1 year ago) (1 children)

"Programmer" isn't a protected title, so everyone and their grandma can be a programmer. You don't even need any actual experience or knowledge on the topic.

~~Just don't go around calling yourself a "software engineer" or anything like that, as it's a protected title and therefore comes with some prestige, but also means that people expect you to have certain skills.~~

[–] vzq@lemmy.blahaj.zone 3 points 1 year ago (2 children)

Just don't go around calling yourself a "software engineer" or anything like that, as it's a protected title

Protected where and by whom? Most software engineers aren’t PEs.

[–] Abigblueworld@lemmy.world 1 points 1 year ago

I'm not one

[–] ekky43@lemmy.dbzer0.com 1 points 1 year ago* (last edited 1 year ago) (1 children)

Ah, I was wrong. I just checked and it appears that engineer isn't protected per default (as you stated).

I was thinking about "Civilingeniør" (literal translation would be "civil engineer", but that is no faithful translation), which everyone who graduates a MSc. in engineering in Denmark receives, and which is at least protected locally.

Thank you for calling me out.

[–] vzq@lemmy.blahaj.zone 2 points 1 year ago

No worries. We have a similar situation here in nl where “ingenieur” is a protected title, but professional bodies have shown zero interest in policing all the “engineers”.

[–] simonced@lemmy.one 3 points 1 year ago (1 children)

It's a fun tool, and to some extend, it feels "programmy". But, also, comparing to HTM, YAML JSON etc, those are just data format that need to be parsed and used by programs, so it is definitely different.

[–] Abigblueworld@lemmy.world 0 points 1 year ago

It really is fun