this post was submitted on 20 Jul 2024
123 points (96.9% liked)

Programming

18333 readers
103 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
(page 4) 33 comments
sorted by: hot top controversial new old
[–] [email protected] 21 points 7 months ago* (last edited 7 months ago) (1 children)

It's hyperbole, but I learned my first language because I wanted to be a god.

I saw these magic windows that popped up, that had buttons, and I was jealous of these godly creators holding the power to make them do as they wanted. So, I learned it myself. I peeked at another program I was using, it was using python and PyQt so that's what I set out with to become my own god of the desktop.

My first program was a GUI wrapper around the YouTube-dl CLI, and I still use it frequently.

load more comments (1 replies)
[–] [email protected] 17 points 7 months ago* (last edited 7 months ago) (3 children)

I wanted to see what the COBOL job market looked like. So I learned the superficial basics of COBOL in a day or two, just so I wouldn't be a complete fraud when I put it into my linkedin profile as a skill to see what happens.

load more comments (3 replies)
[–] [email protected] 6 points 7 months ago

Somewhere before 2010, when I was still on Windows on my laptop and using AutoHotkey, I learned a dialect of Basic. To write an application starter on my USB stick, when going to internet cafes. The starters job was just to run my AutoHotkey script with AutoHotkey interpreter. I never used the Basic language again. I actually forgot which dialect, maybe FreeBasic.

[–] [email protected] 5 points 7 months ago

Might not be dumb, but I learned programming to create things and learn how things worked. Started with entering in hundreds of lines of BASIC printed in magazines, including debugging font typos.

Then learned MUF, or Multi-User Forth, a stack-based text language for creating text based dungeons, and managed to stop some malicious users spying and people's privacy in the server.

Every so often, I pick up a new language to test it to see if it does cool stuff or help me further learn more about how things function.

[–] [email protected] 11 points 7 months ago

Learned flash in the 90's to make terrible games.

[–] [email protected] 9 points 7 months ago

Ruby because it was the first popular Japanese language. I wrote a few useful scripts and it was nice. Then it was swallowed by Rails, and killed by Python. No one uses it around me but it was fun.

[–] [email protected] 4 points 7 months ago (1 children)

To have an easier time with another language (which the first language’s valid syntax is a superset of) which it papers over the faults of. And usually it’s pretty thin paper.

load more comments (1 replies)
[–] [email protected] 7 points 7 months ago

Python. To write mods for renpy 'games'.

[–] [email protected] 6 points 7 months ago

Needed to write a syntax highlighter for VB.Net but I couldn't find any weirdly written edge cases online, so I had to make some myself.

[–] [email protected] 53 points 7 months ago (5 children)

Learned Python to try and hack into a porn site.

[–] [email protected] 14 points 7 months ago (2 children)

I learned Python and regular expressions to download hundreds of pictures from 4chan. Good times.

load more comments (2 replies)
load more comments (4 replies)
[–] [email protected] 13 points 7 months ago

Maybe not dumb but I've definitely been forced to at least partly learn a few terrible languages so I could use some system:

  • PHP so I could write custom linters for Phabricator. Pretty successful. PHP is a bad language but it's fairly easy to read and write.
  • Ruby so I could understand what the hell Gitlab is doing. Total failure here, Ruby is completely incomprehensible especially in a large codebase.
  • OCaml so I can work on a super niche compiler written in OCaml. It's a decent language except the syntax is pretty terrible, OPAM is super buggy, and I dunno if it's this codebase or just OCaml people in general but there are approximately zero comments and identifiers are like ityp, nsec, ef_bin... The sort of names where you already need to know what they are.
[–] [email protected] 40 points 7 months ago (1 children)

I had totally forgotten until this post reminded me: I originally started to learn Python in order to fix a crossword puzzle program.

[–] [email protected] 10 points 7 months ago (1 children)

That’s a good reason. I used my Java skills to crack a shareware (a solitaire game) because I had no money.

[–] [email protected] 14 points 7 months ago

Now you can use Java to have lots of money

[–] [email protected] 14 points 7 months ago* (last edited 7 months ago)

I inherited a C# code base that had a custom runtime loader for APL modules. Over half of the app was actually written in APL with C# just hosting the API.. so yeah, had to learn that. I don't recommend it but some people seem to really love the language. Those people are often statisticians, not programmers.

[–] [email protected] 32 points 7 months ago (2 children)
load more comments (2 replies)
[–] [email protected] 18 points 7 months ago (1 children)

I wanted to make a scripted version of pinochle because my friends and I play it a bunch on tabletop sim and there was nothing available, so I learned LUA

load more comments (1 replies)
[–] [email protected] 69 points 7 months ago (23 children)

"Gods, that's stupid. Why is it being done this way? Have they never heard of naming conventions? Is the language really that awfully designed?"

Learns PHP to find out more.

"Yup..."

[–] [email protected] 4 points 7 months ago (1 children)

R. because it's really easy to work on spreadsheets. i know there's pandas for python but at that time RStudio made it look really attractive. i will do anything not to work on excel.

[–] [email protected] 3 points 7 months ago

When I took biostatistics in college I asked to use python instead of R to do my assignments and they said no

My only real complaint at the time was using <- to define variables but I felt really strongly about it and that I wanted to use fancy snake language

load more comments (22 replies)
[–] [email protected] 19 points 7 months ago (1 children)

Lemmy UI constantly pissed me off, Photon didn't quite do what I wanted, so I forked it and learned Svelte. lol

load more comments (1 replies)
[–] [email protected] 24 points 7 months ago (1 children)
[–] [email protected] 6 points 7 months ago

A man of culture

[–] [email protected] 6 points 7 months ago (1 children)

Because I couldn't find any dev to help me make the game I wanted to make.

[–] [email protected] 4 points 7 months ago (3 children)

This is actually reasonable. You didn't know what work is needed to make a game, but your reason to learn a programming language because you couldn't get help is absolutely not dumb in my opinion.

load more comments (3 replies)
[–] [email protected] 28 points 7 months ago (3 children)

I was going to learn [email protected] just because it is called "Hare" and I like rabbits, but then I saw that I am not on a supported OS.

[–] [email protected] -4 points 7 months ago (1 children)

God. I didn’t knew that Drew was such a language nazi. If you want to write a Go clone, it must be useful for everyone. Even Emacs is available on Windows officially.

[–] [email protected] 12 points 7 months ago* (last edited 7 months ago) (1 children)

What a harebrained comment.

...Sorry, it felt like such a waste not to say it! The puns!

But, language Nazi? Don't you think that's a bit much? And it must be useful for everyone? Why? I also think it hinders growth, but it's their project. It's well within their right to choose whether they put in the effort to support a platform or not, regardless of the reasoning and how much effort it'd actually take.

They don't even seem to be against the idea, they just don't care enough to be the ones to do it:

According to DeVault, while there's currently no plan to support non-free platforms like macOS or Windows, a third-party implementation or fork could try to make that work. The Register

Even Emacs is available on windows, you say? I think some context is needed, here. See what GNU has to say about the availability of Emacs on proprietary systems:

However, GNU Emacs includes support for some other systems that volunteers choose to support.

Emphasis mine.

To improve the use of proprietary systems is a misguided goal. Our aim, rather, is to eliminate them. We include support for some proprietary systems in GNU Emacs in the hope that running Emacs on them will give users a taste of freedom and thus lead them to free themselves.

Taken from the official download and install page.

[–] [email protected] 3 points 7 months ago (1 children)

It is their project, but no company will use it if it’s broken on Windows.

[–] [email protected] 11 points 7 months ago* (last edited 7 months ago)

Sure, and that matters because...? What negative effects is this choice having on hare that go against hare's objectives?

You seem to be treating hare as something it doesn't want, nor care to be.

I like to describe Hare as a simple, conservative, modern update to C, with a FOSS ethos. It doesn’t try to break computer science ground, or promise to solve a million dollar problem.

Guess you could say they're probably not friends of million-hares. Ha, ha.

And upstream Hare will not support non-libre operating systems. That’s a lot of conviction, but Hare isn’t trying to take over the world. It will coexist with the diversity of languages out there, and thrive in its own niche. In short, the Hare project develops for a libre future and for the deliberate programmer, not the corporate, the ephemeral and the reckless.

From Torres, one of the core contributors.

Their wants and metrics for success aren't the same as yours.

load more comments (2 replies)
load more comments
view more: ‹ prev next ›