this post was submitted on 03 May 2024
68 points (94.7% liked)

Ask Lemmy

27042 readers
1348 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try [email protected]


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 24 points 6 months ago (3 children)

Like most other languages, I only learned the swear words.

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

Só for example this in C/C++ #define true (__LINE__ % 10 != 0). Not sure if that counts as swear, but put that in a code and you'll hear lots of swearing hahahahaha

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

Print('Fuck you')

[–] [email protected] 15 points 6 months ago* (last edited 6 months ago) (1 children)

That depends -- which job am I applying for, and how many questions are you going to ask about what's on my resume?

EDIT: I suppose if I'm going to bother posting, I should also actually answer the question. I use mainly Python and C, though I've learned and used several others to a greater or lesser degree over the years. Also, I quite like sed if we're doing scripting languages.

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

In order of learning:

  • Basic
  • Fortran
  • Pascal
  • 6502 Assembler
  • Cobol
  • C
  • Unix shell
  • Quel
  • Awk
  • Troff
  • Perl (my favorite)
  • SQL
  • C++
  • Java
  • PL/SQL
  • Javascript
[–] [email protected] 4 points 6 months ago

Most of them, and a bunch of others. Just learned something like a programming language today.

I've probably forgotten more programming languages than most kids today could list. Comes with the territory if you're in the business for over 40 years.

load more comments (1 replies)
[–] [email protected] 11 points 6 months ago* (last edited 6 months ago) (2 children)

Surprised no one else here knows HTML

Edit: I'm also good with XML

[–] [email protected] 7 points 6 months ago* (last edited 6 months ago) (3 children)

Aren't HTML and XML markup languages and not turing complete? So they don't qualify as programming languages, because you can't program in them?

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

But yeah I'm just kidding :)

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

I believe XML with XSLT is technically Turing complete. No one would program with it for any practical application, but it could technically be considered a programming language.

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

Maybe you can't

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

The myspace days are so far away I've forgotten all of the html i once knew.

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

I guess I’ll be the representation of knowing none

[–] [email protected] 3 points 6 months ago (2 children)

Interested in learning any languages?

load more comments (2 replies)
[–] [email protected] 9 points 6 months ago* (last edited 6 months ago) (2 children)

Proficient: Rust, C++, Python, x86-64 ASM, SSE1 SIMD, C#, C, Javascript / Node.JS
Can get by: Java / JNI, Kotlin, Bash
Been a while: Perl, Haskell, Prolog, Labview, Lisp

[–] [email protected] 5 points 6 months ago (2 children)

ASM - are you working with embedded electronics?

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

x86 is rarely used in embedded these days

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

I find this question very interesting. What does it mean to "know" a programming language. They map to certain paradigms for how to solve problems, in various degrees, with different tradeoffs there for surrounding tooling, libs, and what not.

A bunch of the most familiar ones are procedural with different sprinkles on top, and they pretty much do the same things when it comes to the "language" side. So, "knowing" one, or another, IMO, has little to do with the syntax, parsing and keywords, and is much more if you have suffered through cryptic compile errors, figured out good debugging tooling, etc.

Which is to say, if we compare these two list

  • C++, Haskell, Prolog
  • C++, Java, Python, Rust, Kotlin, Objective-C, Dart, etc

I'd consider the first one much more impressive in terms of diversity in "knowing programming languages". And, I say that as someone belonging squarely in the latter.

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

Yeah this question seems weird. Isn't programming less about knowing and more about solving?

[–] [email protected] 6 points 6 months ago (2 children)
[–] [email protected] 4 points 6 months ago

Don’t forget html!

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

A little of them all, just enough to be a jill of all trades but a mistress of none.

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

In rough chronological order: Basic, Pascal, 6800 asm, 68000 asm, C, Smalltalk, Python, Java, Javascript. Worked with but wouldn't claim to "know": Fortran, COBOL, Prolog, Lisp, C++, Rust, Go.

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago)

proficient at some point in the last 20 years:

  • C
  • ladder logic (for PLCs - dont take this from me)
  • Verilog
  • VHDL
  • C#
  • C++
  • PHP
  • Go (this is my daily driver)

I would hate to count JavaScript and friends.

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

Depends on your definition of "know". Honestly nowadays I don't feel too scared to try something in any language.

I'm most proficient in Java and Python. In my free time I nowadays spend most of my time messing around with Haskell, Julia, or Rust. And I have some basic knowledge in a lot of other languages, including C, C++, C#, Kotlin, Groovy, Prolog, JavaScript, SQL, etc, etc.

But as I said in the beginning, I'm not too scared of learning something new. If someone were to ask me for a job where I'd be using Go or Kotlin or something then I'd be fairly confident that I could adjust quite quickly.

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

No actual programming language, but I do know a few scripting languages...

Bash, Powershell and PHP, all with various proficiencies.

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

Enough that I can code in pretty much anything. I think the typing point was when I coded professionally in my 4th or 5th language some time in the early 90s.

[–] [email protected] 4 points 6 months ago* (last edited 6 months ago)

I'm not great at any language but I know mainly Python, PowerShell, and some Bash. I don't like Bash.

The first Programming course I took was in C++ which I actually like the syntax of. Unfortunately I have not used it in years. The course was also pretty simple with exclusively simple CLI programs so I never had to worry about anything like garbage collection or optimization. So the only c++ programs I have written are quite similar to something similar in Python or PowerShell.

The second course was in C# but I don't really remember anything except that classes exist.

It's not a programming language but I also know HTML and CSS.

I really should learn JavaScript someday. Rust also seems to be pretty good.

Perl is supposedly pretty good too, so I should learn that for scripting.

[–] [email protected] 4 points 6 months ago* (last edited 6 months ago)

Well?

  • JavaScript (and TypeScript)
  • PHP
  • Bash (is that a programming language?)

Poorly?

  • Java

Including markup and querying languages?

  • HTML
  • SQL

Including languages that definitely aren’t programming languages?

  • Regex
  • CSS
[–] [email protected] 3 points 6 months ago

I know Python, R, the STATA ado-language (a horrible proprietary progamming language), MATLABs language, Javascript and some minimal C++. What I know really well though is R and Python. So typical profile for a (data) scientist.

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

I took a programming class in highschool, so I know some BASIC. Not that I've ever used it since then.

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

I can do enough HTML to customize my MySpace profile

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

Can you teach me how to add a midi file?

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago)
  • CL
  • RPG II
  • RPG III
  • RPG400
  • RPGILE
  • PL/SQL
  • SEQUEL
  • SQL
  • Assembler
  • This line intentionally blank
  • Basic
  • Visual Basic
[–] [email protected] 3 points 6 months ago
[–] [email protected] 3 points 6 months ago* (last edited 6 months ago)

Know:

  • Python
  • Matlab
  • Halcon
  • VPM
  • basic
  • C/C++
  • C#
  • JavaScript/Typescript
  • SQL

Want to learn:

  • Rust
  • Go
  • Kotlin
[–] [email protected] 3 points 6 months ago

Roughly C, C++, Python, Java... But not all of them on an expert level.

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (1 children)

C, C#, C++, BASIC, and Java.

I see others mentioning PHP and HTML but when I learned those way the hell back in high school, most nerds would get up your ass for calling them "programming languages." If those count, I know those too.

Would VBS (Virtual Battle Simulator) scripting be a programming language? I know that best from the 3,000+ hours spent making missions for Arma 2 and 3.

[–] naonintendois 3 points 6 months ago

Php has gotten fairly advanced compared to what it used to be so it counts. Html doesn't count since it's a markup language not a programming language. You can't control logic with it, but JavaScript does count.

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

Enough of some to get me into trouble. I edited nethack to give me 95% probability to get wands of death, but then everyone got wands of death. And I still know Hypercard.

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

In high school I took classes on Visual Basic, C++, and Java, and learned some ActionScript on my own, but I wouldn’t feel confident with any of them nowadays. I suppose I could still write a basic HTML 4 page, but CSS was always a weak point and I don’t think either of those really count as programming languages anyways.

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

Programming languages in which i have done some project besides basic exercises: Python C# C++ Java

The most used and known is Pyrhon

load more comments
view more: next ›