-
worst programming language you've ever seen/used
what is it?
for me it's probably the language used in Praat scripts.
if you don't know what Praat is, it's a sound analysis tool and its actually pretty decent. however, the scripting language is horrifying. the documentation is nearly nonexistent and the syntax is fucking weird.
-
Re: worst programming language you've ever seen/used
English.
Why does everything need to be in English :(
-
Re: worst programming language you've ever seen/used
did you copy that from a first year CS course?
-
Re: worst programming language you've ever seen/used
Quote:
Originally Posted by
Plotato
BY THE WAY, FOR YE OLDE WEBMASTERS OF THIS HERE WEBSITE, YOU NEED TO CHANGE THE STYLING SO THAT
Code:
.bbcode_container div.bbcode_code, .bbcode_container pre.bbcode_code {
...
overflow: auto;
}
SO THAT THE CODE DOESN'T HAVE RANDOM HORIZONTAL SCROLLING. THANK YOU FOR LISTENING TO MY TED TALK.
Uh, overflow seems to already be set to auto. I can only get a horizontal scroll bar to appear if I squeeze the page as thin as possible. Are you using a different style? I’ve tested on dark core and vbulletin default and same behavior. Couldn’t find an overflow: scroll in the page source. Only autos and hiddens.
-
Re: worst programming language you've ever seen/used
Quote:
Originally Posted by
Plotato
On the compressed mess
(which I assume is composed of different css files, compressed) there is the templating style for
, specifically
Code:
.bbcode_container pre.bbcode_code
that sets
which would mean the scrollbars in every direction are present regardless of overflow or not. Now for some reason the HTML styling has it default to
so that the problem isn't here anymore...?
I’m so sorry, I posted that cuz I thought you were talking about a horizontal scroll bar on the entire site. When I realized you were talking about the code block I changed it!
-
Re: worst programming language you've ever seen/used
i'm wondering how many programmers there even are on these forums.
-
Re: worst programming language you've ever seen/used
French and Italian are fun. English is a hard language to sing in. German is more difficult but I love it.
The hardest thing I’ve done was in some Indian language that I don’t remember; from a bollywood movie. It was called Balleilaka (probably misspelled). It gets really fast at one point and there are a lot of consonants but it was fun as fuck. I’d perform it again if I had the opportunity.
-
Re: worst programming language you've ever seen/used
Oh based senseis, how do I get the computer program to have pictures and not be a black screen? All I can do is mathematical computations and text based RPGs in python someone pls guide my rookie ass to the light.
And why the hell can I make infinite lists in lists? Does that have some practical application or is that some by-product of how the language is constructed? Or is it a flex? (Do programmers flex?)
Sincerely, a filthy casual.
-
Re: worst programming language you've ever seen/used
tbh classes just seem like post-modernist PC nonsense. You should just write out everything you want to happen using if statements tbh. In fact, while and for loops are also a waste of time. You can just replace all your while and for loops with functions and if statements.
-
Re: worst programming language you've ever seen/used
Code:
public static isEven(value: number): boolean {
if (value === 1) {
return false
} else if (value === 2) {
return true
} else if (value === 3) {
return false
} else if (value === 4) {
return true
} else if (value === 5) {
return false
} else if (value === 6) {
return true
} else if (value === 7) {
return false
} else if (value === 8) {
return true
} else if (value === 9) {
return false
}
}
-
Re: worst programming language you've ever seen/used
F# uses '=' for equality and variable declaration, and '<-' for reassignment
-
Re: worst programming language you've ever seen/used
Java uses '=' for assignment! It's really intuitive.
-
Re: worst programming language you've ever seen/used
Java doesn't let you overload operators :P
So if you have two vectors, you have to make a method .add(), and call it every time you want to add two vectors.
Meanwhile in F# you can do:
[<Struct>]
type 't Vector when 't: equality and 't: comparison and t': ( static member (+) : ('t, 't) -> 't) =
{
x: 't
y: 't
}
static member (+) (left: Vector, right: Vector) =
{
x = left.x + right.x
y = left.y + right.y
}
and then you can just do:
let c: Vector = a + b
when a and b are vectors.
You can also define your new operators this way. There is a downside to this, namely that it is possible to define operators that either are not intuitive in terms of what they do,
or operators that look like regular ones but do something completely different. If you do it right, however, you can more or less make your own DSL in F# (without writing a compiler or shit for it):
For instance, if you have a graph that you defined a type for yourself (this is actually not necessary, but more on that later), you can make an operator for linking two nodes, something like: <-> or <=>.
Instead of calling a method or function for that.
-
Re: worst programming language you've ever seen/used
Quote:
Originally Posted by
yzb25
tbh classes just seem like post-modernist PC nonsense. You should just write out everything you want to happen using if statements tbh. In fact, while and for loops are also a waste of time. You can just replace all your while and for loops with functions and if statements.
bro fuck that, you're not a real programmer unless you send electrons to various parts of your CPU
-
Re: worst programming language you've ever seen/used
I can’t tell if you’re hating on f like the thread topic implies or if you’re in love with it
-
Re: worst programming language you've ever seen/used
-
Re: worst programming language you've ever seen/used
Press F in the chat
So far if I had to name a language I actively disliked from the ones I had to use I'd say Delphi is pretty high up there. Just don't like it but I only dabbled in it. LotusScript is also kinda bleh but I'm nostalgic for it because I made some cool things with it and it's one of the first languages I had to actually work with at my first job.
-
Re: worst programming language you've ever seen/used
Any assembly language.
Thank god everything has a C compiler
-
Re: worst programming language you've ever seen/used
i actually loved writing the assembly design for my processor in uni =)
-
Re: worst programming language you've ever seen/used
Bro, I keep wanting to learn ASM but i whenever i do start i end up getting bored bc its so difficult :(
I dont even know how to properly assemble a program, lol.
-
Re: worst programming language you've ever seen/used
NGL, i like the idea of writing assembly on a processor or some shit.
-
Re: worst programming language you've ever seen/used
Quote:
Originally Posted by
Voss
i actually loved writing the assembly design for my processor in uni =)
Wait, by this here do you mean you actually wrote the instruction set yourself?