juan_gandhi: (Default)
[personal profile] juan_gandhi
 Все побежали, и я побежал.

First language: Algol-60
Had difficulties: Prolog
Most used: Scala
Totally hate: PHP
Most loved: Scala
For beginners: JavaScript

Date: 2019-10-12 04:16 am (UTC)
rampitec: (Default)
From: [personal profile] rampitec
У тебя тоже хорошо с первым ;) Уважаю!

Date: 2019-10-12 09:37 am (UTC)
From: [personal profile] sassa_nf
I don't know how to answer "Had difficulties".

The difficulties I had with Basic were the difficulties of understanding the first programming language.

The difficulties I had with Prolog took me a week to get the mental model of how the solutions are meant to be constructed.

The difficulties I had with Haskell were around expressing the things I wanted in that type system. The other difficulties were around parsing some complicated folds and diagonals, not the language as such.

The difficulties I had with Python were around detesting its aesthetics.

The difficulties I had with Agda were around getting the induction. Not so much the induction itself, as the need to prove "trivial" things by induction. And getting why some types aren't equal.


These were the difficulties as in the things that stopped me in my tracks. But I would probably rather rate them as inspirations.


But possibly the worst kind of difficulties I had were with Javascript. It is just a sacrilegious pile of landmines. It is the language where writing safe and correct code is the most difficult. Python comes close, but not quite as bad; it has more sane ecosystem.
Edited Date: 2019-10-12 09:41 am (UTC)

Date: 2019-10-12 03:56 pm (UTC)
From: [personal profile] sassa_nf
Sure, there was a lot of stumbling. At first I thought to say "Prolog", too, but then I recalled that actually that was maybe more than 20 years ago now. Did I not encounter anything harder than the taster of Prolog in the 20 years that followed?

But why Prolog was difficult, and not, say, Haskell? Or Coq?


Yes, I've read "the good parts". You are allowed to discard "that bullshit" only if you are sculpting something from scratch. If you want to construct a working system, you are going to use the existing modules that probably are not so well written, plus the things are underspecified - some intentionally, like getting "bananas", some unintentionally, like the streams hanging. So the concept may be good, but in practice is too malleable.
Edited Date: 2019-10-12 04:00 pm (UTC)

Date: 2019-10-13 09:59 am (UTC)
From: [personal profile] sassa_nf
so, when you say you "had difficulties: Prolog" - do you mean you never got over it? Or you resolved it, but that was the hardest difficulty?

Date: 2019-10-13 10:50 am (UTC)
From: [personal profile] sassa_nf
Oh, I see. No, my difficulties were never like that.

Date: 2019-10-12 09:41 am (UTC)
swooy: (Default)
From: [personal profile] swooy
For beginners: JavaScript

Есть такое мнение, что Pascal какбе лучший for beginners

Date: 2019-10-12 04:07 pm (UTC)
timelets: (Default)
From: [personal profile] timelets
Looks like you spent your life among people who speak various dialects of Turing.

Date: 2019-10-12 06:44 pm (UTC)
66george: (Default)
From: [personal profile] 66george
Из всех языков, на которых я пытался программировать, наибольшую ненависть вызвал именно JavaScript.

Re: Totally hate: PHP

Date: 2019-10-12 09:41 pm (UTC)
dememax: (glider)
From: [personal profile] dememax
А откуда вдруг ненависть к этому web-языку?
Пришлось попрагроммировать?

Мне, если честно, пришлось на теперешнем месте работы. Странное ощущение. Но не худшее...

Re: Totally hate: PHP

Date: 2019-10-13 06:15 am (UTC)
stas: (Default)
From: [personal profile] stas
Я бы поставил $20 на то, что уважаемый Хуан на PHP не программировал никогда. Я не знаю, так ли это, но вот так мне кажется. Я прав?

Re: Totally hate: PHP

Date: 2019-10-13 06:52 pm (UTC)
stas: (Default)
From: [personal profile] stas
Ну, значит, проиграл двадцатку. А сорс есть?

Re: Totally hate: PHP

Date: 2019-10-13 11:50 pm (UTC)
stas: (Default)
From: [personal profile] stas
Ну ничо, бывает и хуже. В 90-х примерно так и писали. Даже наверное в 2000-х немножко.
Edited Date: 2019-10-13 11:51 pm (UTC)

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

June 2025

S M T W T F S
1 2345 6 7
8 9 10 11 121314
15161718 192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 20th, 2025 09:00 am
Powered by Dreamwidth Studios