* * * SC2 Mafia Thread * * * -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Thread : worst programming language you've ever seen/used https://www.sc2mafia.com/forum/showthread.php?t=47570 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 1] Auteur : Oberon Date : October 6th, 2020 04:27 PM Title : 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. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 2] Auteur : Marshmallow Marshall Date : October 6th, 2020 04:50 PM Title : Re: worst programming language you've ever seen/used English. Why does everything need to be in English :( -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 3] Auteur : Oberon Date : October 6th, 2020 07:07 PM Title : Re: worst programming language you've ever seen/used did you copy that from a first year CS course? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 4] Auteur : DJarJar Date : October 7th, 2020 06:04 PM Title : Re: worst programming language you've ever seen/used BY THE WAY, FOR YE OLDE WEBMASTERS OF THIS HERE WEBSITE, YOU NEED TO CHANGE THE STYLING SO THAT .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. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 5] Auteur : DJarJar Date : October 7th, 2020 08:12 PM Title : Re: worst programming language you've ever seen/used On the compressed mess main-rollup.css (which I assume is composed of different css files, compressed) there is the templating style for bbccode_code, specifically .bbcode_container pre.bbcode_code that sets overflow: scroll; 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 overflow: auto; 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! -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 6] Auteur : Voss Date : October 12th, 2020 07:40 PM Title : Re: worst programming language you've ever seen/used i'm wondering how many programmers there even are on these forums. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 7] Auteur : Stealthbomber16 Date : October 13th, 2020 09:46 AM Title : 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. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 8] Auteur : yzb25 Date : October 13th, 2020 03:03 PM Title : 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. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 9] Auteur : yzb25 Date : October 13th, 2020 03:26 PM Title : 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. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 10] Auteur : Apocist Date : October 13th, 2020 08:42 PM Title : Re: worst programming language you've ever seen/used 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 } } -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 11] Auteur : Oberon Date : October 14th, 2020 08:18 AM Title : Re: worst programming language you've ever seen/used F# uses '=' for equality and variable declaration, and '<-' for reassignment -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 12] Auteur : Voss Date : October 14th, 2020 01:53 PM Title : Re: worst programming language you've ever seen/used Java uses '=' for assignment! It's really intuitive. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 13] Auteur : Oberon Date : October 15th, 2020 08:32 AM Title : 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: [] 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. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 14] Auteur : Oberon Date : October 15th, 2020 08:34 AM Title : 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. bro fuck that, you're not a real programmer unless you send electrons to various parts of your CPU -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 15] Auteur : DJarJar Date : October 15th, 2020 12:05 PM Title : 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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 16] Auteur : Oberon Date : October 15th, 2020 12:27 PM Title : Re: worst programming language you've ever seen/used i love it :) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 17] Auteur : NoctiZ Date : October 16th, 2020 03:33 AM Title : 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. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 18] Auteur : Mugy Date : October 16th, 2020 05:50 AM Title : Re: worst programming language you've ever seen/used Any assembly language. Thank god everything has a C compiler -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 19] Auteur : Voss Date : October 16th, 2020 11:29 AM Title : Re: worst programming language you've ever seen/used i actually loved writing the assembly design for my processor in uni =) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 20] Auteur : Oberon Date : October 21st, 2020 12:16 PM Title : 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. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 21] Auteur : Oberon Date : October 21st, 2020 12:17 PM Title : Re: worst programming language you've ever seen/used NGL, i like the idea of writing assembly on a processor or some shit. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [Post 22] Auteur : Oberon Date : October 21st, 2020 12:17 PM Title : Re: worst programming language you've ever seen/used 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? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-