Hi, everyone

TL;DR - post below your suggestion for a good programming language for an almost-rookie teacher/educator/writer to start using.

More info: I am trying to decide on which programming language to learn. I know my way around HTML and CSS from being active online, but haven’t done much programming apart from this. I write, teach, and work with digital teaching/learning products a lot. In 2021, I think there will be plenty of time for me to start working with programming. I don’t mean just “learn to code” - I mean using the language(s) as an educator/writer/publisher. Libre / open source context preferred. Which languages look like they fit the bill, Lemmy?

You could also try Nim

@sia
link
fedilink
4
edit-2
2Y

deleted by creator

Rust

@zksmk
link
fedilink
6
edit-2
2Y

Python, Javascript, Rust

Python - probably the easiest language to learn, big in the science community

Javascript - probably the easiest language to learn if you’re either impatient or a visual learner, easy to start as a beginner and set up and get visual feedback, if you make stuff with it to teach it’s the most likely to reach a large audience

Rust - cool and efficient language

@copacetic
link
fedilink
52Y

As an educator/writer/publisher, you might be interested in interactive fiction, so maybe take a look at Inform 7.

To learn a general purpose language, Python would be my first suggestion.

It depends if you want to learn it just for yourself or for your students. They will expect to work with a language that is broadly used.

@glennsl
link
fedilink
6
edit-2
2Y

deleted by creator

My pitch for Clojure and some beginner resources. :)

LISP

Can’t go wrong with Lisp for interactive workflow alone in my opinion. I don’t think I could use a non-Lisp based language at this point. :)

Right?! I’ve been using Emacs Lisp for … less than a year, and I’m already like, Boo, I don’t wanna use Bash!

Janetsh might be of interest, and I’ve been using Babashka for all my scripting needs. :)

Great article in order to get an overview of the Rust language

LISP

It’s easier to get into than you’d think – and SICP (Structure and Interpretation of Computer Programs, a seminal text) is written in Scheme, a Lisp. LISP

@sia
link
fedilink
2
edit-2
2Y

deleted by creator

LOLOL I’m definitely a convert! I’m not even mad, though; it’s a meme for a reason

@Echedenyan
link
fedilink
2
edit-2
3M

deleted by creator

AFAIK, you /can/ use the parentheses as tags in XML, … but it’s okay if it’s not for you!

@Echedenyan
link
fedilink
2
edit-2
3M

deleted by creator

I actually haven’t heard of SXML, so I meant regular lisp. For me, I just mean that this is pretty tree-based, so far as I can tell (I’m not an actual programmer, though, which might be the issue with my understanding):

(defun foo (bar baz)
  (if (predicate)
      (do if true)
    (do if false)))
@Echedenyan
link
fedilink
1
edit-2
3M

deleted by creator

Oh, well if you just mean a formatting thing – you can format a source file however you want :) But yeah, that’s not really the popular way to do it. For me, just the opening tags + indentation work well enough to delimit everything, but to each their own.

@Echedenyan
link
fedilink
2
edit-2
3M

deleted by creator

I think Python is the best suited to your needs.

@poVoq
link
fedilink
16
edit-2
4M

deleted by creator

@Reaton
link
fedilink
4
edit-2
1Y

deleted by creator

asklemmy
!asklemmy
Create a post

A loosely moderated place to ask open ended questions

If your post is

  1. Open ended
  2. Not offensive
  3. Not regarding lemmy support (c/lemmy_support)
  4. not ad nauseam inducing (please make sure its a question that would be new to most members)

it’s welcome here!

  • 1 user online
  • 14 users / day
  • 38 users / week
  • 143 users / month
  • 419 users / 6 months
  • 3.55K subscribers
  • 1.12K Posts
  • 12.1K Comments
  • Modlog