Click here to Skip to main content
15,887,453 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralHere's a specific reason devs hate JavaScript! PinPopular
raddevus8-Jan-19 8:52
mvaraddevus8-Jan-19 8:52 
GeneralRe: Here's a specific reason devs hate JavaScript! PinPopular
Sander Rossel8-Jan-19 9:52
professionalSander Rossel8-Jan-19 9:52 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
raddevus8-Jan-19 10:01
mvaraddevus8-Jan-19 10:01 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
raddevus8-Jan-19 10:08
mvaraddevus8-Jan-19 10:08 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
Sander Rossel8-Jan-19 22:24
professionalSander Rossel8-Jan-19 22:24 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
raddevus9-Jan-19 1:25
mvaraddevus9-Jan-19 1:25 
GeneralRe: Here's a specific reason devs hate JavaScript! PinPopular
User 99160809-Jan-19 4:09
professionalUser 99160809-Jan-19 4:09 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
David A. Gray28-Apr-19 15:27
David A. Gray28-Apr-19 15:27 
The Visual Basic instruction is Option Explicit. Other environments, e. g., Perl, have use strict; that invokes a package. There might be something like that in Typescript, but I am unaware of anything along those lines for Javascript. On the other hand, I use JS as infrequently as possible, for all the reasons you said, and many others.

If you're serious about JS, you really need a good linter and a robust set of rules to guide it, not to mention a decent visual debugger. When necessity requires it, I lean heavily on the Chrome Dev Tools.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting

GeneralRe: Here's a specific reason devs hate JavaScript! Pin
raddevus8-Jan-19 10:20
mvaraddevus8-Jan-19 10:20 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
jsc428-Jan-19 21:43
professionaljsc428-Jan-19 21:43 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
raddevus9-Jan-19 1:24
mvaraddevus9-Jan-19 1:24 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
Member 107319449-Jan-19 14:17
Member 107319449-Jan-19 14:17 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
  Forogar  10-Jan-19 6:33
professional  Forogar  10-Jan-19 6:33 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
RickZeeland8-Jan-19 10:10
mveRickZeeland8-Jan-19 10:10 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
raddevus8-Jan-19 10:22
mvaraddevus8-Jan-19 10:22 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
RickZeeland8-Jan-19 19:59
mveRickZeeland8-Jan-19 19:59 
GeneralRe: Here's a specific reason devs hate JavaScript! PinPopular
Pete O'Hanlon8-Jan-19 12:40
mvePete O'Hanlon8-Jan-19 12:40 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
raddevus8-Jan-19 14:59
mvaraddevus8-Jan-19 14:59 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
Jon McKee8-Jan-19 15:26
professionalJon McKee8-Jan-19 15:26 
GeneralRe: Here's a specific reason devs hate JavaScript! PinPopular
Ryan Peden8-Jan-19 18:07
professionalRyan Peden8-Jan-19 18:07 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
raddevus9-Jan-19 1:13
mvaraddevus9-Jan-19 1:13 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
Member 91670578-Jan-19 21:08
Member 91670578-Jan-19 21:08 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
raddevus9-Jan-19 1:15
mvaraddevus9-Jan-19 1:15 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
Member 107319449-Jan-19 14:22
Member 107319449-Jan-19 14:22 
GeneralRe: Here's a specific reason devs hate JavaScript! Pin
Member 91670579-Jan-19 20:55
Member 91670579-Jan-19 20:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.